/* ══════════════════════════════════════════════════════════════
   Kampanya ve satış artırıcı öğeleri (hoş geldin penceresi, davet kutusu, kampanya
   rozetleri/kutuları, geri sayım, sepetteki hediye satırı). Ana sayfa site.css
   yüklemediği için bu stiller ayrı dosyada ve TÜM sayfalarda yüklenir.
   ══════════════════════════════════════════════════════════════ */
/* Hediye satırı (sepet) */
.cart-gift-row { background: #FFF7F5; border-radius: 10px; padding-left: 10px; padding-right: 10px; }
.cart-gift-row .cart-row-img { position: relative; }
.cart-gift-tag { position: absolute; left: 6px; top: 6px; background: #E85D4F; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 100px; }
.cart-row-qty.is-static { justify-content: center; min-width: 60px; border: none; background: none; font-size: 13px; color: var(--onyx-muted); }
.cart-discount-row > span:first-child { min-width: 0; padding-right: 10px; }
.cart-discount-row > span:last-child, .cart-summary-row > span:last-child { white-space: nowrap; }
.cart-discount-code { white-space: nowrap; display: inline-block; }
.checkout-mini-row.is-gift .cmr-name { color: #C8463A; }

/* Geri sayım */
.camp-countdown { margin-top: 8px; font-size: 12.5px; color: #C8463A; font-weight: 500; }
.camp-countdown b { font-variant-numeric: tabular-nums; }

/* Hoş geldin penceresi */
.welcome-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(28,27,26,.55); display: flex; align-items: center; justify-content: center; padding: 16px; animation: welcomeIn .25s ease; }
.welcome-modal[hidden] { display: none; }
@keyframes welcomeIn { from { opacity: 0; } to { opacity: 1; } }
.welcome-card { position: relative; width: 100%; max-width: 420px; background: #F7F3EE; border-radius: 18px; padding: 34px 28px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.welcome-preview-note { margin: -18px -10px 14px; padding: 7px 12px; border-radius: 8px; background: #FDF0DA; color: #A86A12; font-size: 12px; font-weight: 600; }
.welcome-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--onyx-muted); cursor: pointer; }
.welcome-badge { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; border-radius: 50%; background: #E85D4F; color: #fff; font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 14px; box-shadow: 0 8px 20px rgba(232,93,79,.35); }
.welcome-card h3 { font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 600; margin: 0 0 8px; color: var(--onyx); }
.welcome-text { font-size: 13.5px; color: var(--onyx-muted); line-height: 1.6; margin: 0 0 18px; }
.welcome-form { display: flex; flex-direction: column; gap: 10px; }
.welcome-form input { height: 46px; border: 1.5px solid rgba(28,27,26,.18); border-radius: 100px; padding: 0 18px; font-family: inherit; font-size: 14px; background: #fff; }
.welcome-form input:focus { outline: none; border-color: var(--terra); }
.welcome-form .btn, .welcome-apply { justify-content: center; height: 46px; }
.welcome-msg { font-size: 12.5px; color: #b3453a; margin: 0; }
.welcome-result p { font-size: 13px; color: var(--onyx-muted); margin: 0 0 8px; }
.welcome-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px dashed var(--terra); border-radius: 12px; background: #fff; padding: 10px 14px; margin-bottom: 12px; }
.welcome-code span { font-size: clamp(15px, 4.4vw, 19px); font-weight: 700; letter-spacing: .06em; color: var(--terra-hover); white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.welcome-code button { flex: none; }
.welcome-code button { background: var(--onyx); color: #fff; border: none; border-radius: 100px; font-size: 11.5px; padding: 6px 12px; cursor: pointer; }
.welcome-code.is-used { opacity: .5; }
.welcome-code em { font-size: 11px; color: var(--onyx-muted); }
.welcome-apply { width: 100%; }
.welcome-note { margin-top: 10px !important; font-size: 11.5px !important; }
.welcome-skip { margin-top: 12px; background: none; border: none; font-size: 12px; color: var(--onyx-muted); text-decoration: underline; cursor: pointer; }
.welcome-skip[hidden], .welcome-form[hidden], .welcome-result[hidden] { display: none; }
body.welcome-open { overflow: hidden; }

/* Arkadaşını getir */
.referral-inline { margin-top: 26px; text-align: left; }
.referral-box { border: 1.5px dashed var(--terra); border-radius: 16px; background: #FFFCF9; padding: 22px 22px 18px; max-width: 520px; }
.referral-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.referral-box p { font-size: 13.5px; color: var(--onyx-mid); line-height: 1.6; margin: 0 0 14px; }
.referral-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.referral-rewards { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.referral-rewards .welcome-code { margin: 0; }
.referral-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 34px; }
.referral-step { background: var(--gallery-muted); border-radius: 14px; padding: 20px; }
.referral-step b { display: block; font-family: 'Playfair Display', serif; font-size: 28px; color: var(--terra); margin-bottom: 6px; }
@media (max-width: 700px) { .referral-steps { grid-template-columns: 1fr; } }

/* Ürün kartı kampanya rozeti ve ürün sayfası kampanya kutusu */
.campaign-badge {
  background: #E85D4F; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; box-shadow: 0 2px 6px rgba(232,93,79,.3); max-width: 170px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-campaigns { display: flex; flex-direction: column; gap: 10px; margin: -6px 0 22px; }
.camp-box { border: 1.5px dashed #E85D4F; border-radius: 12px; padding: 12px 16px; background: #FFF7F5; }
.camp-title { font-size: 14px; font-weight: 700; color: #C8463A; }
.camp-desc { font-size: 12.5px; color: var(--onyx-mid); margin-top: 3px; line-height: 1.5; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 7px; font-size: 11.5px; color: var(--onyx-muted); }
.camp-auto { color: #2E7D5B; font-weight: 600; }
.camp-code b { letter-spacing: .06em; color: var(--onyx); }
.camp-copy { margin-left: 4px; background: var(--onyx); color: #fff; border: none; border-radius: 100px; font-size: 10.5px; padding: 3px 10px; cursor: pointer; }
.live-campaigns { margin: 10px 0 44px; }
.live-campaigns h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 18px; }
.live-campaigns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.live-campaign { display: flex; flex-direction: column; gap: 12px; }
.live-campaign .camp-box { flex: 1; padding: 18px 20px; }
.live-campaign .camp-title { font-size: 17px; }
.live-campaign .btn { align-self: flex-start; }

/* Pencere içi düğmeler (sayfadan bağımsız) */
.welcome-card .btn, .referral-box .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; text-decoration: none;
  background: var(--onyx); color: #fff; border-radius: 100px; padding: 0 24px; height: 46px;
  font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: background .2s;
}
.welcome-card .btn:hover, .referral-box .btn:hover { background: var(--terra-hover); }
.welcome-card .btn:disabled { opacity: .6; cursor: default; }
.welcome-card, .welcome-card * { box-sizing: border-box; }
.welcome-card { font-family: 'Inter', sans-serif; }

/* ── Müşteri fotoğrafları (ana sayfa bölümü, ürün sayfası şeridi, büyük görünüm) ── */
.cp-home { padding: 72px 0 64px; background: #F7F3EE; }
.cp-home[hidden] { display: none; }
.cp-home-head { max-width: 1320px; margin: 0 auto 26px; padding: 0 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cp-home-kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #A3735B; font-weight: 600; margin-bottom: 8px; }
.cp-home-title { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(26px, 3.4vw, 38px); color: #1C1B1A; margin: 0; }
.cp-home-arrows { display: flex; gap: 8px; }
.cp-home-arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(28,27,26,.18); background: #fff; font-size: 24px; line-height: 1; cursor: pointer; color: #1C1B1A; }
.cp-home-arrows button:hover { border-color: #A3735B; color: #A3735B; }
.cp-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(40px, calc((100vw - 1320px) / 2 + 40px)) 12px; scroll-padding: 0 max(40px, calc((100vw - 1320px) / 2 + 40px)); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cp-track::-webkit-scrollbar { display: none; }
.cp-card { flex: 0 0 260px; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; background: #fff; border: 0; border-radius: 14px; overflow: hidden; padding: 0; cursor: pointer; box-shadow: 0 6px 22px rgba(28,27,26,.07); font: inherit; color: #1C1B1A; transition: transform .2s ease, box-shadow .2s ease; }
.cp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,27,26,.12); }
.cp-card-img { display: block; aspect-ratio: 4 / 5; background: #EDE6DC; overflow: hidden; }
.cp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.cp-card-stars, .cp-lb-stars { color: #E0A33A; letter-spacing: 2px; font-size: 14px; }
.cp-card-text { font-size: 13.5px; line-height: 1.5; color: #4A4541; }
.cp-card-name { font-size: 12.5px; font-weight: 600; }
.cp-card-product { font-size: 12px; color: #A3735B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 700px) {
  .cp-home { padding: 48px 0 40px; }
  .cp-home-head { padding: 0 16px; }
  .cp-home-arrows { display: none; }
  .cp-track { padding: 4px 16px 12px; gap: 12px; scroll-padding: 0 16px; }
  .cp-card { flex-basis: 72vw; }
}

.cp-count { font-weight: 400; color: #8A8178; font-size: .9em; }
.cp-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cp-thumb { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 10px; overflow: hidden; border: 0; padding: 0; cursor: pointer; background: #EDE6DC; }
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.cp-thumb:hover img { transform: scale(1.05); }
.cp-thumb-sm { width: 72px; height: 72px; border-radius: 8px; }
.pd-review-photos-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 4px; }

.pd-review-photos { display: flex; flex-direction: column; gap: 10px; }
.pd-review-photo-previews { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-review-photo-previews:empty { display: none; }
.pd-review-photo-prev { position: relative; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; }
.pd-review-photo-prev img { width: 100%; height: 100%; object-fit: cover; }
.pd-review-photo-prev button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(28,27,26,.7); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.pd-review-photo-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px dashed rgba(28,27,26,.3); border-radius: 10px; font-size: 13.5px; cursor: pointer; color: #1C1B1A; background: #fff; }
.pd-review-photo-btn:hover { border-color: #A3735B; color: #A3735B; }
.pd-review-photo-btn[hidden] { display: none; }
.pd-review-photo-btn small { color: #8A8178; }

.cp-lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(20,18,16,.82); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cp-lightbox[hidden] { display: none; }
html.cp-lb-open { overflow: hidden; }
.cp-lb-card { position: relative; display: flex; width: min(1040px, 100%); max-height: calc(100vh - 40px); background: #fff; border-radius: 16px; overflow: hidden; }
.cp-lb-media { position: relative; flex: 1 1 62%; background: #111; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.cp-lb-media img { max-width: 100%; max-height: calc(100vh - 40px); object-fit: contain; display: block; }
.cp-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; cursor: pointer; color: #1C1B1A; }
.cp-lb-prev { left: 12px; } .cp-lb-next { right: 12px; }
.cp-lb-nav[hidden] { display: none; }
.cp-lb-info { flex: 1 1 38%; padding: 34px 26px 24px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.cp-lb-text { font-size: 15px; line-height: 1.6; color: #2E2A27; margin: 0; }
.cp-lb-meta { font-size: 13.5px; color: #4A4541; }
.cp-lb-source { font-size: 12px; color: #8A8178; }
.cp-lb-product { font-size: 13.5px; font-weight: 600; color: #A3735B; text-decoration: none; }
.cp-lb-count { margin-top: auto; font-size: 12px; color: #8A8178; }
.cp-lb-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 24px; line-height: 1; cursor: pointer; color: #1C1B1A; }
@media (max-width: 760px) {
  .cp-lightbox { padding: 0; }
  .cp-lb-card { flex-direction: column; width: 100%; height: 100%; max-height: none; border-radius: 0; }
  .cp-lb-media { flex: 1 1 auto; min-height: 0; }
  .cp-lb-media img { max-height: 62vh; }
  .cp-lb-info { flex: 0 0 auto; max-height: 38vh; padding: 16px 16px 20px; gap: 8px; }
}

/* Kampanyalar sayfası: aktif kampanya yokken */
.campaigns-empty { max-width: 560px; margin: 8px auto 0; text-align: center; padding: 40px 24px; background: #fff; border-radius: 16px; border: 1px solid rgba(28,27,26,.08); }
.campaigns-empty h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; margin: 0 0 10px; color: #1C1B1A; }
.campaigns-empty p { font-size: 14px; line-height: 1.7; color: #6B635B; margin: 0 0 18px; }
