/* ==========================================================================
   Casablanca Tarım · online mağaza
   Ana sayfa satış bölümü, ürün listesi, ürün sayfası ve sepet.
   Ürün renkleri: pH Regülatörü (yeşil etiket) · Cu (mavi etiket)
   ========================================================================== */
.shop, .compare, .pd, .cartp, .shop-main {
  --s-ink: #12301a; --s-ink2: #3c5245; --s-muted: #66776c; --s-line: #e1e5dc; --s-line2: #eceee8;
  --s-paper: #f6f5ed; --s-card: #fff; --s-gold: #a9822f; --s-ok: #1f7658;
  --acc: #1f7658; --acc-d: #155a43; --tint-1: #edf3e7; --tint-2: #f8faf4; --disc: #dfeccf;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif; color: var(--s-ink);
}
.pcard--ph, .pd--ph { --acc: #2f6b3a; --acc-d: #22502a; --tint-1: #e9f2e2; --tint-2: #f7faf3; --disc: #d9e9cc; }
.pcard--cu, .pd--cu { --acc: #2b54a0; --acc-d: #1f3f7a; --tint-1: #e6edf8; --tint-2: #f5f8fc; --disc: #d3e0f3; }
.shop-main { background: var(--s-paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.shop__wrap { max-width: 1360px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .shop__wrap { padding: 0 48px; } }

/* ---- bölüm ---- */
.shop { background: var(--s-paper); padding: 56px 0 60px; }
@media (min-width: 1024px) { .shop { padding: 80px 0 84px; } }
.shop--page { padding-top: 28px; }
.shop__head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.shop__head--page { margin-top: 26px; }
.shop__eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--s-ok); }
.shop__title { margin: 0; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.06; font-weight: 500; letter-spacing: -.025em; color: var(--s-ink); text-wrap: balance; }
.shop__lede { margin: 16px auto 0; max-width: 52ch; font-size: 17px; line-height: 1.5; color: var(--s-muted); }
.shop__grid { display: grid; gap: 24px; max-width: 1120px; margin: 0 auto; }
@media (min-width: 900px) { .shop__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.shop__grid--one { max-width: 560px; }
@media (min-width: 900px) { .shop__grid--one { grid-template-columns: 1fr; } }

/* ---- ürün kartı ---- */
.pcard {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--s-card); border: 1px solid var(--s-line); border-radius: 26px;
  transition: box-shadow .3s, transform .3s;
}
.pcard:hover { box-shadow: 0 22px 50px -28px rgba(18, 48, 26, .32); }
.pcard__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 11; overflow: hidden;
  background: linear-gradient(160deg, var(--tint-1), var(--tint-2) 70%);
}
.pcard__media::before {
  content: ""; position: absolute; width: min(70%, 330px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, var(--disc) 72%);
}
.pcard__media img {
  position: absolute; inset: 5% 4% 3%; width: 92%; height: 92%; object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(18, 48, 26, .18)); transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .2s;
}
.pcard:hover .pcard__media img { transform: translateY(-5px) scale(1.02); }
[data-product-image].is-swap { opacity: .25; }
.pcard__tag {
  position: absolute; top: 18px; left: 18px; z-index: 1; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); color: var(--acc); font-size: 12px; font-weight: 600; letter-spacing: .01em;
}
.pcard__ship {
  position: absolute; top: 18px; right: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: var(--acc); color: #fff; font-size: 12px; font-weight: 600;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
@media (min-width: 1100px) { .pcard__body { padding: 30px 32px 32px; } }
.pcard__kicker { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--s-muted); }
.pcard__title { margin: 0; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.pcard__title a { color: var(--s-ink); text-decoration: none; }
.pcard__title em, .pd__title em { font-style: normal; color: var(--acc); }
.pcard__desc { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--s-ink2); }
.pcard__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.pcard__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--s-ink2); }
.pcard__list svg { flex: none; margin-top: 2px; color: var(--acc); }
.pcard__buy { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; }
.pcard__price { margin: 0; text-align: right; display: grid; gap: 2px; }
.pcard__price b { font-size: 28px; line-height: 1.05; font-weight: 600; letter-spacing: -.02em; color: var(--s-ink); }
.pcard__price > span { font-size: 12.5px; color: var(--s-muted); }
.pcard__actions { display: flex; gap: 10px; margin-top: 20px; }
.pcard__actions .btn-buy { flex: 1; justify-content: center; }
.pcard__status { margin: 12px 0 0; font-size: 13.5px; color: var(--s-ok); }
.pcard__status a, .pcard__status a:visited { color: var(--s-ok); font-weight: 600; }

/* ---- ambalaj seçici ---- */
.sizes { display: inline-flex; gap: 8px; }
.size {
  min-width: 64px; padding: 10px 16px; border: 1px solid var(--s-line); border-radius: 12px; background: #fff;
  font: 600 14px/1 "Instrument Sans", system-ui, sans-serif; color: var(--s-ink2); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.size:hover { border-color: var(--acc); }
.size[aria-pressed="true"] { border-color: var(--acc); background: var(--acc); color: #fff; }

/* ---- butonlar ---- */
.btn-buy {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--acc); color: #fff; text-decoration: none; font: 600 15px/1 "Instrument Sans", system-ui, sans-serif;
  transition: background-color .2s, transform .2s;
}
.btn-buy:hover { background: var(--acc-d); color: #fff; }
.btn-buy:active { transform: scale(.98); }
.btn-buy.is-added { background: var(--acc-d); }
.btn-buy--wide { width: 100%; justify-content: center; }
.btn-buy--grow { flex: 1; justify-content: center; }
.btn-line {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--s-line); border-radius: 999px;
  background: #fff; color: var(--s-ink); text-decoration: none; font: 600 15px/1 "Instrument Sans", system-ui, sans-serif; transition: border-color .2s;
}
.btn-line:hover { border-color: var(--s-ink); color: var(--s-ink); }
.btn-now {
  width: 100%; margin-top: 10px; padding: 14px 22px; border: 1.5px solid var(--s-ink); border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 15px/1 "Instrument Sans", system-ui, sans-serif; color: var(--s-ink); transition: background-color .2s, color .2s;
}
.btn-now:hover { background: var(--s-ink); color: #fff; }
.btn-buy:focus-visible, .btn-line:focus-visible, .btn-now:focus-visible, .size:focus-visible, .size-opt:focus-visible, .pd__thumb:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* ---- güven şeridi ---- */
.trust { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: 1120px; margin: 40px auto 0; padding: 26px 0 0; border-top: 1px solid var(--s-line); }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust svg { flex: none; color: var(--s-ok); margin-top: 1px; }
.trust b { display: block; font-size: 14.5px; font-weight: 600; color: var(--s-ink); }
.trust small { display: block; margin-top: 2px; font-size: 13px; color: var(--s-muted); }
.trust--compact { margin: 22px 0 0; padding: 20px 0 0; gap: 14px 16px; }
@media (min-width: 900px) { .trust--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust--compact svg { width: 20px; height: 20px; color: var(--acc); }

/* ---- içerik yolu ---- */
.shop-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--s-muted); }
.shop-crumb a { color: var(--s-muted); text-decoration: none; }
.shop-crumb a:hover { color: var(--s-ink); }
.shop-crumb i { font-style: normal; opacity: .5; }
.shop-crumb [aria-current] { color: var(--s-ink); }

/* ---- ürün sayfası ---- */
.pd { background: var(--s-paper); padding: 26px 0 72px; }
.pd__top { display: grid; gap: 32px; margin-top: 22px; }
@media (min-width: 1024px) { .pd__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: start; } }
.pd__gallery { min-width: 0; }
@media (min-width: 1024px) { .pd__gallery { position: sticky; top: 96px; } }
.pd__stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 28px;
  background: linear-gradient(160deg, var(--tint-1), var(--tint-2) 72%); border: 1px solid var(--s-line2);
}
.pd__stage::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--disc) 72%); }
.pd__stage img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 28px 32px rgba(18, 48, 26, .2)); transition: opacity .2s; }
.pd__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd__thumb {
  display: grid; justify-items: center; gap: 4px; width: 104px; padding: 8px 8px 10px; border: 1.5px solid var(--s-line); border-radius: 16px;
  background: #fff; cursor: pointer; font: 600 13px/1 "Instrument Sans", system-ui, sans-serif; color: var(--s-ink2); transition: border-color .2s;
}
.pd__thumb img { width: 72px; height: 72px; object-fit: contain; }
.pd__thumb[aria-pressed="true"] { border-color: var(--acc); color: var(--acc); }
.pd__labelnote { margin: 12px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--s-muted); }
.pd__buy { min-width: 0; }
.pd__title { margin: 0; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; font-weight: 500; letter-spacing: -.028em; color: var(--s-ink); }
.pd__sub { margin: 12px 0 0; font-size: 15px; font-weight: 500; color: var(--acc); }
.pd__lede { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--s-ink2); }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--s-line); }
.pd__price b { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.025em; }
.pd__price > span { font-size: 14px; color: var(--s-muted); }
.pd__sizes { margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.pd__sizes legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--s-muted); }
.size-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.size-opt {
  position: relative; display: grid; gap: 4px; padding: 16px 18px; text-align: left; border: 1.5px solid var(--s-line); border-radius: 16px; background: #fff; cursor: pointer;
  font-family: "Instrument Sans", system-ui, sans-serif; color: var(--s-ink); transition: border-color .2s, box-shadow .2s;
}
.size-opt:hover { border-color: var(--acc); }
.size-opt[aria-pressed="true"] { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); background: var(--tint-2); }
.size-opt__l { font-size: 18px; font-weight: 600; }
.size-opt__p { font-size: 15px; font-weight: 500; color: var(--s-ink2); }
.size-opt__u { font-size: 12.5px; color: var(--s-muted); }
.size-opt__save { position: absolute; top: -10px; right: 12px; padding: 3px 9px; border-radius: 999px; background: #f3e7c9; color: #7a5a12; font-size: 11.5px; font-weight: 600; font-style: normal; }
.pd__row { display: flex; gap: 12px; margin-top: 18px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--s-line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; cursor: pointer; font-size: 20px; color: var(--s-ink); }
.qty button:hover { background: var(--s-line2); }
.qty input { width: 40px; border: 0; text-align: center; font: 600 16px/1 "Instrument Sans", system-ui, sans-serif; color: var(--s-ink); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm button { width: 34px; height: 36px; font-size: 17px; }
.qty--sm output { min-width: 26px; text-align: center; font-weight: 600; }
.pd__help { margin: 18px 0 0; font-size: 14px; color: var(--s-muted); }
.pd__help a { display: inline-flex; align-items: center; gap: 5px; color: var(--s-ok); font-weight: 600; text-decoration: none; }
.pd__feats { list-style: none; display: grid; gap: 14px; margin: 56px 0 0; padding: 0; }
@media (min-width: 700px) { .pd__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pd__feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pd__feats li { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--s-line); border-radius: 20px; background: #fff; }
.pd__feats svg { color: var(--acc); margin-bottom: 6px; }
.pd__feats b { font-size: 16px; font-weight: 600; }
.pd__feats span { font-size: 14px; line-height: 1.5; color: var(--s-muted); }
.pd__detail { display: grid; gap: 28px; margin-top: 56px; }
@media (min-width: 1024px) { .pd__detail { grid-template-columns: 230px minmax(0, 1fr); gap: 56px; } }
.pd__toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 1024px) { .pd__toc { position: sticky; top: 100px; align-self: start; } .pd__toc ul { display: grid; gap: 2px; } }
.pd__toc a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--s-ink2); text-decoration: none; font-size: 14.5px; }
.pd__toc a:hover { background: #fff; color: var(--s-ink); }
@media (max-width: 1023px) { .pd__toc a { border: 1px solid var(--s-line); border-radius: 999px; background: #fff; padding: 8px 14px; font-size: 13.5px; } }
.pd__sections { min-width: 0; max-width: 860px; }
.pd__sections section { padding: 30px 0; border-top: 1px solid var(--s-line); scroll-margin-top: 96px; }
.pd__sections section:first-child { border-top: 0; padding-top: 0; }
.pd__sections h2 { margin: 0 0 16px; font-size: 26px; line-height: 1.15; font-weight: 500; letter-spacing: -.015em; }
.pd__sections p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--s-ink2); }
.pd__spec { margin: 0; border-top: 1px solid var(--s-line); }
.pd__spec div { display: grid; grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--s-line); }
.pd__spec dt { color: var(--s-muted); font-size: 14.5px; }
.pd__spec dd { margin: 0; font-size: 15.5px; color: var(--s-ink); }
@media (max-width: 560px) { .pd__spec div { grid-template-columns: 1fr; } }
.pd__table { overflow-x: auto; border: 1px solid var(--s-line); border-radius: 16px; background: #fff; }
.pd__table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.pd__table th, .pd__table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--s-line2); }
.pd__table thead th { background: var(--tint-2, #f7f8f4); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--s-muted); }
.pd__table tbody th { font-weight: 500; color: var(--s-ink); }
.pd__table tbody tr:last-child th, .pd__table tbody tr:last-child td { border-bottom: 0; }
.pd__table td { color: var(--s-ink2); font-variant-numeric: tabular-nums; }
.pd__note { margin: 12px 0 0 !important; font-size: 13.5px !important; line-height: 1.6 !important; color: var(--s-muted) !important; }
.pd__warn { display: flex; gap: 14px; margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: #fbf4e2; border: 1px solid #efdfb4; }
.pd__warn svg { flex: none; color: #9a6d12; margin-top: 2px; }
.pd__warn b { display: block; margin-bottom: 4px; font-size: 15px; color: #5f4410; }
.pd__warn p { margin: 0 !important; font-size: 14.5px !important; line-height: 1.6 !important; color: #6b5323 !important; }
.pd__list { margin: 0 0 14px; padding-left: 1.2em; }
.pd__list li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.6; color: var(--s-ink2); }
.pd__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pd__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--s-ok); font-weight: 600; font-size: 15px; text-decoration: none; }
.pd__links a:hover { text-decoration: underline; }
.pd__other { margin-top: 64px; }
.pd__other-title { margin: 0 0 22px; text-align: center; font-size: 26px; font-weight: 500; letter-spacing: -.015em; }

/* mobil satın al çubuğu */
.buybar { display: none; }
@media (max-width: 899px) {
  .buybar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--s-line); box-shadow: 0 -10px 30px -18px rgba(18, 48, 26, .35);
    transform: translateY(110%); transition: transform .3s;
  }
  .buybar.is-on { transform: none; }
  .buybar__in { display: flex; align-items: center; gap: 12px; }
  .buybar__name { flex: 1; min-width: 0; font-size: 13px; color: var(--s-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar b { font-size: 18px; font-weight: 600; }
  .buybar .btn-buy { padding: 12px 16px; font-size: 14px; }
}

/* ---- ürün listesi · karşılaştırma ---- */
.compare { background: #fff; padding: 64px 0 72px; border-top: 1px solid var(--s-line); }
.compare__title { margin: 0 0 24px; text-align: center; font-size: clamp(26px, 3vw, 34px); font-weight: 500; letter-spacing: -.02em; }
.compare__table { max-width: 920px; margin: 0 auto; }
.compare__table thead th a { color: var(--s-ink); text-decoration: none; font-size: 15px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.compare__table small { color: var(--s-muted); font-size: 12.5px; }
.compare .pd__note { max-width: 920px; margin: 12px auto 0 !important; text-align: center; }
.faq3 { display: grid; gap: 18px; max-width: 1120px; margin: 44px auto 0; }
@media (min-width: 900px) { .faq3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.faq3 > div { padding: 24px; border: 1px solid var(--s-line); border-radius: 20px; background: var(--s-paper); }
.faq3 h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; }
.faq3 p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--s-ink2); }
.faq3 a { display: inline-flex; align-items: center; gap: 6px; color: var(--s-ok); font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---- sepet ---- */
.cartp { background: var(--s-paper); padding: 26px 0 80px; min-height: 60vh; }
.cartp__title { margin: 18px 0 26px; font-size: clamp(32px, 4vw, 44px); font-weight: 500; letter-spacing: -.025em; }
.cartp__grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .cartp__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; } }
.cartp__lines { display: grid; gap: 14px; min-width: 0; }
.cline {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  padding: 16px; border: 1px solid var(--s-line); border-radius: 20px; background: #fff;
}
.cline__media { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 14px; background: linear-gradient(160deg, var(--tint-1), var(--tint-2)); }
.cline--ph { --tint-1: #e9f2e2; --tint-2: #f7faf3; } .cline--cu { --tint-1: #e6edf8; --tint-2: #f5f8fc; }
.cline__media img { width: 84px; height: 84px; object-fit: contain; }
.cline__title { font-size: 17px; font-weight: 600; color: var(--s-ink); text-decoration: none; }
.cline__meta { margin: 4px 0 10px; font-size: 14px; color: var(--s-muted); }
.cline__side { display: grid; justify-items: end; gap: 10px; }
.cline__total { margin: 0; font-size: 18px; font-weight: 600; }
.cline__remove { border: 0; background: none; padding: 0; color: var(--s-muted); font: 500 13.5px/1 "Instrument Sans", system-ui, sans-serif; text-decoration: underline; cursor: pointer; }
.cline__remove:hover { color: #9a2f22; }
@media (max-width: 560px) {
  .cline { grid-template-columns: 72px minmax(0, 1fr); }
  .cline__media { width: 72px; height: 72px; } .cline__media img { width: 62px; height: 62px; }
  .cline__side { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
}
.cart-empty { padding: 48px 28px; text-align: center; border: 1px dashed var(--s-line); border-radius: 22px; background: #fff; }
.cart-empty h2 { margin: 0 0 8px; font-size: 24px; font-weight: 500; }
.cart-empty p { margin: 0 0 22px; color: var(--s-muted); }
.csum { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--s-line); border-radius: 22px; background: #fff; }
.csum__title { margin: 0 0 16px; font-size: 20px; font-weight: 600; }
.ctotal { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; color: var(--s-ink2); }
.ctotal b { font-weight: 600; color: var(--s-ink); font-variant-numeric: tabular-nums; }
.ctotal--grand { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--s-line); font-size: 17px; color: var(--s-ink); }
.ctotal--grand b { font-size: 22px; }
.csum__slot { margin-top: 18px; }
.csum__order .btn-buy { --acc: #1f7658; --acc-d: #155a43; }
.csum__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--s-muted); }
.csum__trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--s-line); display: grid; gap: 8px; font-size: 13.5px; color: var(--s-ink2); }
.csum__trust li::before { content: "✓"; margin-right: 8px; color: var(--s-ok); font-weight: 700; }
.csum__legal { margin: 14px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--s-muted); }
.csum__legal a { color: var(--s-ink2); }
/* PayTR akışı (API açıkken) mevcut sınıfları kullanır */
.csum .store-status { font-size: 14px; color: var(--s-ink2); }
.csum .store-cta { display: inline-flex; justify-content: center; width: 100%; padding: 14px; border-radius: 999px; background: #1f7658; color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; }
.csum .checkout-form { display: grid; gap: 12px; }
.csum .checkout-form select { width: 100%; padding: 10px; border: 1px solid var(--s-line); border-radius: 10px; }
.csum .checkout-check { display: flex; gap: 8px; font-size: 13.5px; line-height: 1.45; }
.csum .checkout-iframe { width: 100%; min-height: 620px; border: 0; }

@media (prefers-reduced-motion: reduce) {
  .pcard, .pcard__media img, .buybar, .btn-buy { transition: none; }
  .pcard:hover .pcard__media img { transform: none; }
}

/* mobil sıkılaştırma */
@media (max-width: 699px) {
  .pd__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 40px; }
  .pd__feats li { padding: 16px; border-radius: 16px; }
  .pd__feats b { font-size: 15px; }
  .pd__feats span { font-size: 13px; }
  .pd__detail { margin-top: 40px; }
  .pd__thumb { width: 88px; }
  .pd__thumb img { width: 58px; height: 58px; }
  .pd__price b { font-size: 34px; }
  .size-opt { padding: 14px; }
  .pcard__body { padding: 22px 20px 24px; }
  .pcard__buy { padding-top: 20px; }
  .pcard__price b { font-size: 24px; }
  .trust { gap: 16px 14px; }
}

/* ---- ödeme sayfası ---- */
.co__grid { align-items: start; }
.co__main { min-width: 0; }
.co__form { display: grid; gap: 16px; }
.co__box { margin: 0; padding: 22px 22px 20px; border: 1px solid var(--s-line); border-radius: 20px; background: #fff; min-width: 0; }
.co__box legend { float: left; width: 100%; padding: 0 0 14px; margin: 0 0 4px; border-bottom: 1px solid #eef0ea; font-size: 17px; font-weight: 600; line-height: 1.3; color: var(--s-ink); }
.co__box legend + * { clear: both; }
.co__row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .co__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co__field { display: grid; gap: 6px; margin-top: 14px; min-width: 0; }
.co__field label { font-size: 14px; font-weight: 500; color: var(--s-ink2); }
.co__field label small { font-weight: 400; color: var(--s-muted); }
.co__field input, .co__field textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #d6dbd2; border-radius: 12px; background: #fbfbf8;
  font: 400 16px/1.4 "Instrument Sans", system-ui, sans-serif; color: var(--s-ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.co__field textarea { resize: vertical; min-height: 84px; }
.co__field input:focus, .co__field textarea:focus { outline: 0; border-color: var(--s-ok); background: #fff; box-shadow: 0 0 0 3px rgba(31, 118, 88, .14); }
.co__hint { font-size: 12.5px; color: var(--s-muted); }
.co__hint--block { display: block; margin: 10px 0 0; }
.co__field.is-error input, .co__field.is-error textarea { border-color: #b3261e; background: #fff7f6; }
.co__err { margin: 2px 0 0; font-size: 13px; color: #b3261e; }
.co__seg { display: inline-flex; gap: 6px; margin-top: 14px; padding: 4px; border-radius: 999px; background: #f0f2ec; }
.co__seg label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer; }
.co__seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(18, 48, 26, .15); }
.co__seg input { accent-color: var(--s-ok); }
.co__legal { display: grid; gap: 12px; }
.co__legal.is-error { border-color: #b3261e; }
.co__pre summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--s-ink); }
.co__pre ul { margin: 12px 0 4px; padding-left: 1.1em; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.5; color: var(--s-ink2); }
.co__pre a, .co__check a { color: var(--s-ok); }
.co__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--s-ink2); cursor: pointer; }
.co__check input { flex: none; width: 19px; height: 19px; margin-top: 1px; accent-color: var(--s-ok); }
.co__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co__submit { gap: 10px; padding: 17px 22px; font-size: 16px; }
.co__submit[disabled] { opacity: .65; cursor: progress; }
.co__msg { margin: 0; padding: 12px 16px; border-radius: 12px; background: #fbf1ef; color: #8a2a1f; font-size: 14px; line-height: 1.5; }
.co__msg a { color: #8a2a1f; font-weight: 600; }
.co__secure { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.5; color: var(--s-muted); }
.co__secure svg { flex: none; margin-top: 2px; color: var(--s-ok); }
.co__pay { padding: 22px; border: 1px solid var(--s-line); border-radius: 20px; background: #fff; }
.co__order { margin: -6px 0 14px; font-size: 14px; color: var(--s-muted); }
.co__frame iframe { display: block; width: 100%; min-height: 640px; border: 0; }
.co__lines { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.co__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co__line img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #f2f4ee; }
.co__line b { display: block; font-size: 14.5px; font-weight: 600; }
.co__line small { display: block; font-size: 13px; color: var(--s-muted); }
.co__line-total { font-weight: 600; font-variant-numeric: tabular-nums; }
.co__edit { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--s-ok); }
.csum__wa { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--s-ink2); }
@media (max-width: 999px) { .co__sum { position: static; order: -1; } }

/* ---- ödeme sonucu ---- */
.res { max-width: 560px; margin: 24px auto 0; padding: 36px 30px; border: 1px solid var(--s-line); border-radius: 24px; background: #fff; text-align: center; }
.res__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; font-size: 30px; font-weight: 700; background: #eef2ea; color: var(--s-muted); }
.res--paid .res__icon { background: #e3f2e8; color: var(--s-ok); }
.res--failed .res__icon, .res--unknown .res__icon { background: #fbecea; color: #b3261e; }
.res__title { margin: 16px 0 6px; font-size: clamp(26px, 3vw, 32px); font-weight: 500; letter-spacing: -.02em; }
.res__no { margin: 0 0 12px; font-size: 14px; color: var(--s-muted); }
.res__text { margin: 0 0 10px; color: var(--s-ink2); line-height: 1.55; }
.res .co__lines { margin-top: 18px; text-align: left; }
.res .ctotal { text-align: left; }
.res__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.res--pending .res__icon { animation: resPulse 1.4s ease-in-out infinite; }
@keyframes resPulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .res--pending .res__icon { animation: none; } }
.co__line--plain { grid-template-columns: minmax(0, 1fr) auto; }
