/* ==========================================================================
   Kampanyalar (Kampanyalar.html) — değerler inline stillerden birebir.
   Geri sayım yok: yalnızca tarih aralığı / "… kadar" etiketleri.
   ========================================================================== */

.camp-page { padding-top: 32px; }

/* ---------- Petrol hero (1280 × 400) ---------- */
.camp-hero {
  position: relative; min-height: 400px; padding: 44px 56px; border-radius: var(--radius-hero); background: var(--petrol-600); color: #fff;
  overflow: hidden; display: flex; flex-direction: column; gap: 18px;
}
.camp-hero > :not(.ch-deco) { position: relative; z-index: 1; }
.ch-deco { position: absolute; pointer-events: none; }
.ch-ring { right: 120px; top: -60px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid var(--petrol-700); }
.ch-dot { right: 250px; top: 58px; width: 150px; height: 150px; border-radius: 50%; background: var(--orange-600); }
.ch-donut { right: 90px; top: 160px; width: 150px; height: 150px; border-radius: 50%; border: 22px solid var(--apricot); }
.ch-bar { right: 150px; top: 40px; width: 26px; height: 300px; border-radius: 13px; background: #fff; transform: rotate(35deg); }
.camp-hero-eyebrow {
  align-self: flex-start; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--petrol-700); color: var(--apricot);
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
}
.camp-hero-title { max-width: 640px; font-family: var(--font-display); font-size: 50px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.camp-hero-desc { max-width: 520px; font-size: 16.5px; line-height: 1.55; color: var(--petrol-50); }
.camp-hero-actions { margin-top: auto; display: flex; align-items: center; gap: 24px; }
.camp-hero-btn {
  height: 52px; padding: 0 26px; border-radius: var(--radius-card); background: var(--orange-600); color: #fff; font-size: 16px; font-weight: 800;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.camp-hero-btn:hover { background: var(--orange-700); color: #fff; }
.camp-hero-btn:focus-visible { outline-color: var(--apricot); }

/* ---------- Kuponlar ---------- */
.coupons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.coupon { min-height: 150px; display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.coupon-value {
  width: 132px; flex-shrink: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-right: 2px dashed #fff; padding: 12px 8px; text-align: center;
}
.coupon-value strong { font-family: var(--font-display); font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.coupon-value span { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; }
.tone-orange { background: var(--orange-600); }
.tone-petrol { background: var(--petrol-600); }
.tone-green { background: var(--success); }
.coupon-body { flex-grow: 1; min-width: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.coupon-title { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.coupon-cond { font-size: 13px; color: var(--muted); }
.coupon-code-row { margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 8px; }
.coupon-code {
  flex-grow: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--radius-sm); border: 1.5px dashed #B8B2A6;
  font-size: 14px; font-weight: 800; letter-spacing: 0.06em; display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.coupon-copy {
  height: 40px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: var(--petrol-600); color: #fff;
  font-size: 13.5px; font-weight: 800; flex-shrink: 0;
}
.coupon-copy:hover { background: var(--petrol-700); }

/* ---------- Aktif kampanyalar ---------- */
.camp-head { align-items: center; min-height: 40px; flex-wrap: wrap; }
.camp-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab-pill {
  height: 40px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.tab-pill:hover { border-color: var(--petrol-300); }
.tab-pill[aria-selected="true"] { background: var(--petrol-600); border-color: var(--petrol-600); color: #fff; }
.camp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.camp-grid:focus-visible { outline-offset: 6px; border-radius: 8px; }

.th-petrol     { --th-bg: #1F5F66; --th-fg: #FFFFFF; --th-eye: #FFC08F; --th-sub: #E3F0F1; --th-ic: #FFC08F; }
.th-petrol-500 { --th-bg: #2F7880; --th-fg: #FFFFFF; --th-eye: #FFFFFF; --th-sub: #FFFFFF; --th-ic: #FFC08F; }
.th-orange     { --th-bg: #CC4A0A; --th-fg: #FFFFFF; --th-eye: #FFFFFF; --th-sub: #FFFFFF; --th-ic: #FFE8D6; }
.th-butter     { --th-bg: #FBF3DE; --th-fg: #141A2E; --th-eye: #8A5A0B; --th-sub: #3A4260; --th-ic: #B07A1A; }
.th-peach      { --th-bg: #FBEFE6; --th-fg: #141A2E; --th-eye: #B83F08; --th-sub: #3A4260; --th-ic: #CC4A0A; }
.th-lilac      { --th-bg: #F4EEF8; --th-fg: #141A2E; --th-eye: #5B3A8A; --th-sub: #3A4260; --th-ic: #7A55B0; }
.th-mint       { --th-bg: #E6F3EC; --th-fg: #141A2E; --th-eye: #1F6B45; --th-sub: #3A4260; --th-ic: #1F7A4D; }
.th-apricot    { --th-bg: #FFE8D6; --th-fg: #141A2E; --th-eye: #B83F08; --th-sub: #3A4260; --th-ic: #CC4A0A; }
.th-blue       { --th-bg: #EEF1F8; --th-fg: #141A2E; --th-eye: #1F5F66; --th-sub: #3A4260; --th-ic: #2F7880; }
.th-stone      { --th-bg: #F1EFEA; --th-fg: #141A2E; --th-eye: #5A6072; --th-sub: #3A4260; --th-ic: #2F7880; }

.camp-card {
  position: relative; min-height: 260px; padding: 28px; border-radius: 20px; background: var(--th-bg); color: var(--th-fg);
  text-decoration: none; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
}
.camp-card:hover { color: var(--th-fg); }
.camp-card > :not(.camp-ic):not(.camp-img) { position: relative; z-index: 1; }
.camp-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--th-eye); }
.camp-title { max-width: 250px; font-family: var(--font-display); font-size: 26px; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.camp-desc { max-width: 230px; font-size: 14px; line-height: 1.5; color: var(--th-sub); }
.camp-foot { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.camp-cta { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.camp-card:hover .camp-cta { text-decoration: underline; }
.camp-until { color: var(--th-sub); }
.camp-ic { position: absolute; right: -10px; bottom: -6px; color: var(--th-ic); }
.camp-img { position: absolute; right: 20px; bottom: 20px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #FFFFFF; }
.camp-card:has(.camp-img) .camp-title, .camp-card:has(.camp-img) .camp-desc { max-width: calc(100% - 140px); }

/* ---------- Flaş fırsatlar ---------- */
.flash-title { display: flex; align-items: center; gap: 10px; }
.flash-note { font-size: 14px; color: var(--muted); }
.flash-grid { --cols: 5; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }

/* ==========================================================================
   DUYARLI
   ========================================================================== */
@media (max-width: 1279px) {
  .camp-hero-title { max-width: 560px; }
  .ch-ring { right: 40px; }
  .ch-dot { right: 170px; }
  .ch-bar { right: 80px; }
  .ch-donut { right: 30px; }
  .flash-grid { --cols: 4; gap: 24px 20px; }
  .flash-grid > :nth-child(n+5) { display: none; }
  .coupon-value { width: 112px; }
  .coupon-value strong { font-size: 30px; }
}

@media (max-width: 1023px) {
  .camp-page { padding-top: 16px; }
  .camp-hero { min-height: 360px; padding: 36px 40px; }
  .camp-hero-title { max-width: 460px; font-size: 42px; }
  .camp-hero-desc { max-width: 420px; }
  .ch-ring { right: -120px; }
  .ch-dot { right: 40px; top: 36px; width: 110px; height: 110px; }
  .ch-bar { display: none; }
  .ch-donut { right: -20px; top: auto; bottom: -30px; }
  .coupons { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .camp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .flash-grid { --cols: 3; gap: 20px 16px; }
  .flash-grid > :nth-child(n+4) { display: none; }
}

@media (max-width: 767px) {
  .camp-hero { min-height: 0; padding: 28px 20px 24px; border-radius: 18px; gap: 14px; }
  .camp-hero-eyebrow { font-size: 11px; }
  .camp-hero-title { max-width: none; font-size: 32px; padding-right: 40px; }
  .camp-hero-desc { font-size: 15px; }
  .camp-hero-actions { margin-top: 8px; }
  .camp-hero-btn { width: 100%; justify-content: center; height: 52px; }
  .ch-ring { right: -200px; top: -120px; }
  .ch-dot { right: -40px; top: -40px; width: 110px; height: 110px; }
  .ch-donut { display: none; }
  .coupons { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .coupon-value { width: 104px; }
  .coupon-value strong { font-size: 28px; }
  .coupon-body { padding: 14px 16px; }
  .coupon-copy { height: 44px; }
  .coupon-code { height: 44px; }
  .camp-head { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; }
  .camp-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .camp-tabs::-webkit-scrollbar { display: none; }
  .tab-pill { height: 38px; padding: 0 14px; font-size: 13px; }
  .camp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .camp-card { min-height: 200px; padding: 22px; }
  .camp-title { font-size: 22px; max-width: 220px; }
  .camp-ic { width: 110px; height: 110px; }
  .camp-img { width: 96px; height: 96px; right: 16px; bottom: 16px; }
  .camp-card:has(.camp-img) .camp-title, .camp-card:has(.camp-img) .camp-desc { max-width: calc(100% - 110px); }
  .flash-note { font-size: 13px; }
  .flash-grid { --cols: 2; gap: 12px; }
  .flash-grid > :nth-child(n+4) { display: flex; }
  .flash-grid > :nth-child(n+5) { display: none; }
}
