/* ============================================
   BBCHALLENGE — Program kartı, program listesi, program sayfası, satın alma
   Palet styles.css'ten devralınır (--accent gold, cream bg); home.css ile birlikte yüklenir
   ============================================ */

:root {
  --ink: #1f1a16;
  --cta-ink: #2b2118;
  --cta-gradient: linear-gradient(135deg, #e8d6b3, var(--accent) 58%, var(--accent-dark));
  --card-line: rgba(40, 35, 31, 0.08);
  --nav-offset: 84px;
  /* Hero fotoğrafı ile satın alma kartı aynı kolonda hizalanır */
  --aside-width: 420px;
  --aside-gap: 52px;
}

/* Altın zemin üzerinde beyaz yazı zayıf kalıyor; satış sayfalarında koyu yazı */
.program-page .btn-primary,
.catalog-page .btn-primary {
  color: var(--cta-ink);
}

/* ---------- PROGRAM KARTI ---------- */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.pcard-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 44px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--card-line);
  color: var(--muted);
  text-align: center;
}

.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--card-line);
  box-shadow: 0 18px 45px rgba(74, 60, 49, 0.1);
  color: var(--text);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pcard:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.pcard-media {
  position: relative;
  aspect-ratio: 1 / 0.82;
  overflow: hidden;
  background: linear-gradient(135deg, #4a3f35, var(--ink));
}

.pcard-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.pcard-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(20, 16, 12, 0.72));
}

.pcard-days {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.pcard-days strong {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pcard-days span {
  font-size: 17px;
  font-weight: 600;
}

.pcard-deadline {
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
}

.pcard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}

.pcard-start {
  margin: 0;
  color: var(--accent-dark);
  font-size: 12.5px;
  font-weight: 700;
}

.pcard-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.pcard-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(43, 43, 43, 0.68);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.pcard-features {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(43, 43, 43, 0.74);
  font-size: 14px;
  line-height: 1.4;
}

.pcard-features li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 6px;
}

.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--card-line);
}

.pcard-price {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pcard-price .price-old {
  color: var(--soft);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: line-through;
}

.pcard-price .price-now {
  color: var(--text);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.pcard-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px 0 18px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 200ms ease, color 200ms ease;
}

.pcard-cta svg {
  transition: transform 200ms ease;
}

@media (hover: hover) {
  .pcard:hover {
    transform: translateY(-6px);
    border-color: rgba(198, 167, 105, 0.5);
    box-shadow: 0 30px 70px rgba(74, 60, 49, 0.18);
  }

  .pcard:hover .pcard-media img {
    transform: scale(1.045);
  }

  .pcard:hover .pcard-cta {
    background: var(--cta-gradient);
    color: var(--cta-ink);
  }

  .pcard:hover .pcard-cta svg {
    transform: translateX(3px);
  }
}

/* ---------- PROGRAM LİSTESİ ---------- */
.catalog-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink) url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1600&q=82") center 28% / cover no-repeat;
  color: #fff;
}

.catalog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 26, 22, 0.9) 0%, rgba(31, 26, 22, 0.62) 55%, rgba(31, 26, 22, 0.3) 100%),
    linear-gradient(180deg, rgba(31, 26, 22, 0.1) 40%, rgba(31, 26, 22, 0.7) 100%);
}

.catalog-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 148px;
}

.catalog-hero .eyebrow {
  color: var(--accent-light);
}

.catalog-hero h1 {
  max-width: 660px;
  margin: 0 0 16px;
  font-size: clamp(36px, 5.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.catalog-lead {
  max-width: 520px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.6;
}

.catalog-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-trust li,
.pd-chips li {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.catalog-list {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: -96px auto 0;
}

/* ---------- PROGRAM SAYFASI: HERO ---------- */
.pd-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

/* Paket fotoğrafı düşük çözünürlüklü olabilir: arka planda yalnızca bulanık renk olarak kullanılır */
.pd-hero-glow {
  position: absolute;
  inset: 0;
  opacity: 0.32;
}

.pd-hero-glow img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(70px) saturate(1.3);
  transform: scale(1.25);
}

.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 12%, rgba(198, 167, 105, 0.2), transparent 52%);
}

.pd-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-width);
  gap: var(--aside-gap);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 68px;
}

/* Mobilde fotoğrafın gölgesi metnin üstüne binmesin */
.pd-hero-copy {
  position: relative;
  z-index: 1;
}

.pd-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 500;
}

.pd-crumbs a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.pd-crumbs a:hover {
  color: var(--accent-light);
}

.pd-hero h1 {
  max-width: none;
  margin: 0 0 16px;
  font-size: clamp(34px, 4.9vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.pd-lead {
  max-width: 540px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.6;
  white-space: pre-line;
}

.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pd-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-bottom: 18px;
}

.pd-price {
  display: flex;
  flex-direction: column;
}

.pd-price .price-old {
  color: rgba(255, 255, 255, 0.56);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: line-through;
}

.pd-price .price-now {
  color: var(--accent-light);
  font-size: clamp(34px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 16px;
  background: var(--cta-gradient);
  color: var(--cta-ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(198, 167, 105, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.pd-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(198, 167, 105, 0.42);
}

.pd-cta:focus-visible,
.co-submit:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

.pd-secure {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.pd-hero-photo {
  position: relative;
  aspect-ratio: 1 / 1.04;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: #2c2520;
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.5);
}

.pd-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.pd-hero-photo img:not([src]),
.pd-hero-glow img:not([src]) {
  visibility: hidden;
}

.pd-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(20, 16, 12, 0.72));
}

.pd-daybadge {
  position: absolute;
  z-index: 1;
  left: 24px;
  bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.pd-daybadge strong {
  font-size: 84px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pd-daybadge span {
  font-size: 26px;
  font-weight: 600;
}

.pd-daybadge strong:empty + span {
  visibility: hidden;
}

/* Veri gelene kadar yer tutucu */
.pd-hero h1:empty,
.pd-lead:empty,
.pd-price:empty {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  animation: pd-pulse 1.3s ease-in-out infinite;
}

.pd-hero h1:empty {
  height: 112px;
}

.pd-lead:empty {
  height: 76px;
}

.pd-price:empty {
  width: 160px;
  height: 66px;
}

#pd-crumb:empty,
#pd-start:empty {
  display: none;
}

@keyframes pd-pulse {
  50% { opacity: 0.5; }
}

/* ---------- PROGRAM SAYFASI: İÇERİK + SATIN ALMA ---------- */
.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside-width);
  gap: var(--aside-gap);
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 8px;
}

.pd-content {
  display: grid;
  gap: 52px;
  min-width: 0;
}

.pd-block h2 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.7vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.pd-block-sub {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.pd-aside {
  position: sticky;
  top: var(--nav-offset);
  z-index: 2;
  margin-top: -80px;
  scroll-margin-top: var(--nav-offset);
}

#checkout-root {
  scroll-margin-top: var(--nav-offset);
}

/* Veri gelene kadar kartın yeri */
#checkout-root:empty {
  min-height: 560px;
  border: 1px solid var(--card-line);
  border-radius: 26px;
  background: #fff;
}

.pd-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--card-line);
  border-radius: 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.pd-feature-icon {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: rgba(198, 167, 105, 0.14);
  font-size: 20px;
}

.pd-included {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-included--wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pd-included li {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--card-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(74, 60, 49, 0.06);
}

.pd-included strong {
  font-size: 16.5px;
}

.pd-included li > span:last-child {
  color: rgba(43, 43, 43, 0.66);
  font-size: 14.5px;
  line-height: 1.5;
}

.pd-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--accent-light);
}

.pd-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-meals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pd-missing {
  width: min(1180px, calc(100% - 40px));
  min-height: 60vh;
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
}

.pd-missing h1 {
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: clamp(30px, 4.4vw, 46px);
}

.pd-missing-text {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.pd-missing .pcard-grid {
  margin-top: 48px;
  text-align: left;
}

.pd-missing .btn[hidden] {
  display: none;
}

/* Mobilde sayfa boyunca görünen satın alma çubuğu (masaüstünde satın alma kartı zaten sabit) */
.pd-buybar {
  display: none;
}

/* Rakam sayısı değişebilir: kutular alana eşit yayılır (dar ekranda home.css iki sütun yapar) */
@media (min-width: 941px) {
  #pd-stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* İki sütunda tek sayıda rakam: sol kenarda çizgi kalmasın, son rakam satırı kaplasın */
@media (max-width: 940px) {
  #pd-stats .stat:nth-child(odd) {
    border-left: 0;
  }

  #pd-stats .stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* ---------- SATIN ALMA KARTI ---------- */
.co {
  display: grid;
  gap: 16px;
  padding: 22px;
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-offset) - 16px);
  border: 1px solid var(--card-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(41, 35, 29, 0.18);
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.co-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-line);
}

.co-thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #4a3f35, var(--ink));
}

.co-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.co-product h2 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.co-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.co-amount {
  color: var(--accent-dark);
  font-size: 18px;
  white-space: nowrap;
}

.co-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.co-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.co-steps li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(40, 35, 31, 0.08);
  font-size: 12px;
}

.co-steps li.is-active {
  background: rgba(198, 167, 105, 0.16);
  color: var(--text);
}

.co-steps li.is-active span,
.co-steps li.is-done span {
  background: var(--ink);
  color: var(--accent-light);
}

.co form {
  gap: 10px;
}

.co-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.co-hint {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.co .checkbox-row {
  margin-top: 2px;
}

.co-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 15px;
  background: var(--cta-gradient);
  color: var(--cta-ink);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(198, 167, 105, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.co-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(198, 167, 105, 0.42);
}

.co-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

/* Ödenecek tutar kartın en belirgin rakamı */
.co .order-summary {
  background: var(--surface-soft);
}

.co .order-summary-row[hidden] {
  display: none;
}

.co .order-summary-row .order-summary-price,
.co .order-summary-row .order-summary-price span:not(.price-old) {
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

.co-discount summary {
  width: fit-content;
  color: var(--accent-dark);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.co-discount .discount-box {
  margin-top: 10px;
}

.co-back {
  justify-self: center;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.co-back:hover,
.co-back:focus-visible {
  color: var(--accent-dark);
  outline: none;
}

.co .form-status:empty {
  display: none;
}

.co .form-status {
  font-size: 13px;
}

.co .form-note {
  font-size: 11.5px;
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root {
    --aside-width: 380px;
    --aside-gap: 36px;
  }

  .pd-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .pd-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    padding: 0 0 32px;
  }

  .pd-hero-copy {
    width: min(720px, calc(100% - 40px));
    margin: 0 auto;
  }

  .pd-hero-photo {
    order: -1;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 1 / 0.72;
    margin: 0 auto;
    border: 0;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  }

  .pd-hero-photo img {
    object-position: center 38%;
  }

  .pd-crumbs {
    margin-bottom: 14px;
  }

  .pd-lead {
    max-width: none;
    font-size: 16px;
  }

  .pd-chips {
    margin-bottom: 22px;
  }

  .pd-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    width: min(720px, calc(100% - 40px));
    padding-top: 40px;
  }

  .pd-content {
    gap: 40px;
  }

  .pd-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-aside {
    position: static;
    margin-top: 0;
  }

  .co {
    max-height: none;
    overflow: visible;
  }

  .pd-included--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-buybar {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(31, 26, 22, 0.96);
    box-shadow: 0 -12px 34px rgba(31, 26, 22, 0.28);
    transform: translateY(110%);
    transition: transform 240ms ease;
  }

  .pd-buybar.is-visible {
    transform: translateY(0);
  }

  .pd-buybar-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .pd-buybar-price .price-old {
    color: rgba(255, 255, 255, 0.56);
    font-size: 12.5px;
    line-height: 1.2;
    text-decoration: line-through;
  }

  .pd-buybar-price .price-now {
    color: var(--accent-light);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
  }

  .pd-buybar .pd-cta {
    min-height: 48px;
    padding: 0 24px;
    box-shadow: none;
  }

  /* Son içerik çubuğun altında kalmasın */
  .program-page .site-footer {
    margin-bottom: 92px;
  }

  .catalog-hero-inner {
    padding: 52px 0 132px;
  }
}

@media (max-width: 660px) {
  .pcard-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  /* Reklamla gelen telefon: fiyat ve buton ilk ekranda kalsın */
  .pd-hero-inner {
    gap: 18px;
    padding-bottom: 24px;
  }

  .pd-crumbs {
    display: none;
  }

  .pd-hero h1 {
    margin-bottom: 10px;
    font-size: clamp(29px, 8.4vw, 36px);
  }

  .pd-lead {
    margin-bottom: 14px;
    font-size: 15.5px;
    line-height: 1.5;
  }

  .pd-chips {
    flex-wrap: nowrap;
    margin: 0 -20px 16px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .pd-chips::-webkit-scrollbar {
    display: none;
  }

  .pd-chips li {
    flex: 0 0 auto;
    padding: 6px 11px;
    font-size: 12.5px;
  }

  .pd-buy {
    flex-wrap: nowrap;
    gap: 16px;
    margin-bottom: 12px;
  }

  .pd-price {
    flex-shrink: 0;
  }

  .pd-price .price-old {
    font-size: 14px;
  }

  .pd-price .price-now {
    font-size: 29px;
  }

  .pd-hero .pd-cta {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
  }

  .pd-secure {
    font-size: 12px;
  }

  .pd-features {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .pd-features li {
    padding: 10px 12px;
    font-size: 14.5px;
  }

  .pd-feature-icon {
    flex-basis: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Telefonda başlıklar yeterli: satın alma kartına giden yol kısa kalsın */
  .pd-included,
  .pd-included--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pd-included li {
    padding: 14px;
  }

  .pd-included li > span:last-child {
    display: none;
  }

  .pd-included strong {
    font-size: 15px;
    line-height: 1.25;
  }

  .pd-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
  }

  /* Örnek öğünler telefonda yatay kayar: satın alma kartını aşağı itmesin */
  .pd-meals {
    display: flex;
    gap: 12px;
    margin-inline: -20px;
    padding: 0 20px 6px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .pd-meals::-webkit-scrollbar {
    display: none;
  }

  .pd-meals .meal-thumb {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }

  .pd-daybadge {
    left: 20px;
    bottom: 10px;
  }

  .pd-daybadge strong {
    font-size: 58px;
  }

  .pd-daybadge span {
    font-size: 20px;
  }

  .co {
    padding: 18px;
    border-radius: 22px;
  }

  /* styles.css küçük ekranda tek sütuna düşürür; ay, yıl ve CVV yan yana sığar */
  .co .card-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcard,
  .pcard-media img,
  .pcard-cta svg,
  .pd-cta,
  .co-submit,
  .pd-buybar {
    transition: none;
  }

  .pd-hero h1:empty,
  .pd-lead:empty,
  .pd-price:empty {
    animation: none;
  }
}
