/* ============================================================
   intfa-modern — intfa-product.css
   Ürün detay sayfası: galeri, info panel, varyant grid, adet,
   sepete ekle, tab, ilgili ürünler, notify form.
   Mockup intfa_modern_web_ornek/assets/style.css ürün detay
   bölümünden birebir port (.bc breadcrumb intfa-category.css'te,
   ama bu dosyada da yüklü olduğunda tekrar tanımlanmaması için)
   ============================================================ */

/* ── BREADCRUMB (kategori CSS'i bu sayfada yüklü değil — burada da tanımlı) ── */
.bc { background: #fff; border-bottom: 1px solid var(--border); }
.bc-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-light);
}
.bc-inner a { color: var(--text-light); transition: color .15s; }
.bc-inner a:hover { color: var(--blue); }
.bc-inner .sep { font-size: 8px; }
.bc-inner .cur { color: var(--text); font-weight: 500; }

/* ── ÜRÜN WRAP (galeri + info 2 kolon) ─────────────────────── */
.prod-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 24px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;
}

/* ── GALERİ ───────────────────────────────────────────────── */
.gallery { display: flex; flex-direction: column; gap: 10px; }
.main-img {
  aspect-ratio: 1/1; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; position: relative; margin-bottom: 10px;
  box-shadow: var(--shadow-sm); cursor: zoom-in;
}
.main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; display: block; }
.main-img:hover img { transform: scale(1.03); }
.img-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.ibg { padding: 3px 9px; border-radius: 5px; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.ibg-c { background: var(--green); color: #fff; }
.ibg-n { background: var(--blue); color: #fff; }
.thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.thumb {
  aspect-ratio: 1/1; border-radius: 7px; overflow: hidden;
  border: 2px solid var(--border); cursor: pointer; transition: all .15s;
  background: none; padding: 0;
}
.thumb.active, .thumb:hover { border-color: var(--blue); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── ÜRÜN BİLGİ (sağ panel) ───────────────────────────────── */
.prod-cat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 12px;
}
.prod-title {
  font-size: 26px; font-weight: 700; color: var(--text);
  line-height: 1.2; margin-bottom: 6px; letter-spacing: -.3px;
}
.prod-sub { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }
.prod-sub:has(+ .prod-brand) { margin-bottom: 4px; }
.prod-brand { font-size: 13px; color: var(--text-light); margin-bottom: 14px; }

.rating-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.stars-lg { display: flex; gap: 2px; }
.stars-lg i { font-size: 14px; color: var(--rating); }
/* FA(far/fab)→sprite geçişi: inline SVG rating yıldızı + whatsapp ikon boyutu */
.stars-lg .icon { font-size: 14px; color: var(--rating); }
.rev-st .icon { font-size: 10px; color: var(--rating); }
.btn-whatsapp .icon { font-size: 17px; }
.rnum { font-weight: 700; font-size: 14px; }
.rcnt { font-size: 13px; color: var(--text-light); text-decoration: underline; cursor: pointer; }
.sku { font-size: 11px; color: var(--text-light); margin-left: auto; }

/* ── FİYAT KUTUSU ─────────────────────────────────────────── */
.price-box {
  background: var(--blue-light); border: 1px solid var(--blue-mid);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px;
}
.price-main-val {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.price-main-val small { font-size: 18px; font-weight: 500; color: var(--text-mid); margin-left: 2px; }
.price-old-val { font-size: 18px; color: var(--text-light); text-decoration: line-through; margin-left: 8px; }
.price-note { font-size: 12px; color: var(--text-light); margin-top: 5px; }
.price-tax-inline {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.2;
}

/* ── VARYANT / SEÇENEKLER ─────────────────────────────────── */
/* Phase 14.11: option form select/input/textarea inline style'larini class'a tasidik. */
.opt-block { margin-bottom: 16px; }
.opt-input,
.opt-select,
.opt-textarea {
  width: 100%; height: 38px; padding: 0 12px;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-family: 'Poppins', sans-serif; font-size: 13px;
  background: #fff; outline: none;
}
.opt-textarea { height: auto; padding: 10px 12px; resize: vertical; }
.opt-input:focus, .opt-select:focus, .opt-textarea:focus { border-color: var(--blue); }

/* Phase 14.11: spec table'da grup basligi (eski inline style background:--blue) */
.spec-row-header { background: var(--blue); color: #fff; }
.spec-row-header .spec-k { background: var(--blue); color: #fff; font-weight: 700; }
.spec-row-header .spec-v { background: var(--blue); }

/* Phase 14.11: yorum yazma formu — onceki inline style'lar */
.rev-form-title { margin-top: 24px; font-size: 16px; }
.rev-form { margin-top: 12px; max-width: 600px; }
.rev-form-group { margin-bottom: 12px; }
.rev-rating-row { display: flex; gap: 6px; align-items: center; }
.rev-rating-row input[type="radio"] { margin: 0 4px; }
.rev-rating-row label { font-size: 12px; }
.rev-submit { height: 40px; padding: 0 18px; }

.opt-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-mid);
  margin-bottom: 8px; display: block;
}
.size-opts { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.size-btn {
  padding: 7px 16px; border-radius: 7px;
  border: 1.5px solid var(--border); background: #fff;
  font-family: 'Poppins', sans-serif; font-size: 12px; font-weight: 600;
  color: var(--text-mid); cursor: pointer; transition: all .15s;
  text-decoration: none; text-align: center;
}
.size-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.size-btn:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
/* Phase 14.44: mobilde 2 sutun grid — kucuk ekranda flex-wrap dar item'lar
   uretip text'i karakter karakter sarmaliyordu. */
@media (max-width: 600px) {
  .size-opts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .size-btn { padding: 10px 12px; }
}

/* OpenCart varyant.ocmod — varyant grid */
.urun-varyant-grup { margin-bottom: 18px; }
.urun-varyant-baslik {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-mid); margin-bottom: 8px;
}
.urun-varyant-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
/* Yatay kart: gorsel solda, isim sagda. */
.urun-varyant-kart {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; background: #fff;
  text-decoration: none; color: var(--text-mid);
  font-size: 12px; font-weight: 600; line-height: 1.3;
  transition: all .15s;
  display: flex; flex-direction: row; align-items: center; gap: 10px;
  text-align: left;
  min-width: 0;
}
.urun-varyant-kart:hover, .urun-varyant-kart.active {
  border-color: var(--blue); color: var(--blue);
}
.urun-varyant-kart img {
  width: 44px; height: 44px; object-fit: cover; border-radius: 4px;
  flex-shrink: 0;
}
.urun-varyant-kart span {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}

/* ── ADET CTA INLINE ──────────────────────────────────────── */
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.qty-ctrl {
  display: flex; align-items: center;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 8px; overflow: hidden; height: 42px;
}
.qty-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px;
  border: none; background: none; color: var(--text-mid);
  transition: all .15s;
}
.qty-btn:hover { background: var(--bg); color: var(--blue); }
.qty-divider { width: 1px; height: 24px; background: var(--border); }
.qty-val {
  width: 52px; text-align: center;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--text); border: none; outline: none; background: #fff;
  /* Native number spinner butonlarini gizle (Chrome/Safari + Firefox).
     Aksi halde dar genislikte input ic alanini yiyip degeri gizleyebilir. */
  -moz-appearance: textfield;
  appearance: textfield;
  flex-shrink: 0; min-width: 0;
  padding: 0;
}
.qty-val::-webkit-inner-spin-button,
.qty-val::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-unit { font-size: 13px; color: var(--text-light); font-weight: 500; }

.stock-ok {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--green);
  margin-bottom: 10px;
}
.stock-ok::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green); border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.stock-bad {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--red);
  margin-bottom: 10px;
}
.stock-bad::before {
  content: ''; width: 8px; height: 8px;
  background: var(--red); border-radius: 50%;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── CTA INLINE (qty + sepete ekle + şimdi al + favori) ───── */
.cta-inline {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; flex-wrap: nowrap;
}
.cta-inline .qty-ctrl { height: 44px; flex-shrink: 0; min-width: 0; }
.cta-inline .qty-btn { width: 30px; height: 44px; font-size: 16px; }
.cta-inline .qty-val { width: 44px; font-size: 14px; }
.cta-inline .qty-unit { font-size: 12px; color: var(--text-light); font-weight: 600; flex-shrink: 0; white-space: nowrap; }

.cta-row { display: flex; gap: 10px; margin-bottom: 12px; }

.btn-primary {
  flex: 1; height: 48px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; }

.cta-inline .btn-primary {
  height: 44px; font-size: 15px; padding: 0 14px;
  flex: 1; min-width: 0;
  background: var(--orangered); color: #fff;
  border: 2px solid var(--orangered);
}
.cta-inline .btn-primary:hover { background: var(--orangered-dark); border-color: var(--orangered-dark); color: #fff; }

.btn-now {
  height: 44px; padding: 0 44px;
  background: #fff; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.btn-now:hover { background: var(--blue); color: #fff; }
.btn-now i { font-size: 12px; }
.cta-inline .btn-now { flex: 0 0 auto; }

.btn-wish {
  height: 48px; width: 48px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 9px; color: var(--text-light);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 17px; transition: all .15s; flex-shrink: 0;
}
.btn-wish:hover { border-color: var(--red); color: var(--red); }
.cta-inline .btn-wish { height: 44px; width: 44px; flex-shrink: 0; }

/* ── WHATSAPP + TELEFON CTA ───────────────────────────────── */
.cta-contact-row {
  display: flex; gap: 10px;
  margin-top: 14px; margin-bottom: 16px;
}
.btn-whatsapp {
  flex: 1; height: 44px;
  background: #25d366; color: #fff;
  border: none; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s; text-decoration: none;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
.btn-whatsapp i { font-size: 17px; }

.btn-phone {
  flex: 1; height: 44px;
  background: var(--blue-soft); color: #fff;
  border: none; border-radius: 9px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s; text-decoration: none;
}
.btn-phone:hover { background: var(--blue); color: #fff; }
.btn-phone i { font-size: 15px; }

/* WhatsApp pulse efekti */
.btn-wa-pulse { position: relative; overflow: visible; }
.btn-wa-pulse::before, .btn-wa-pulse::after {
  content: ''; position: absolute; inset: 0;
  border-radius: 9px; background: #25d366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}
.btn-wa-pulse::after { animation-delay: 1s; }
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.18); opacity: 0;  }
  100% { transform: scale(1.18); opacity: 0;  }
}

/* Telefon ring efekti */
.ring-icon {
  display: inline-block; transform-origin: 50% 20%;
  animation: phone-ring 2.4s ease-in-out infinite;
}
@keyframes phone-ring {
  0%, 45%, 100% { transform: rotate(0deg);   }
  48%           { transform: rotate(15deg);  }
  51%           { transform: rotate(-14deg); }
  54%           { transform: rotate(13deg);  }
  57%           { transform: rotate(-11deg); }
  60%           { transform: rotate(8deg);   }
  63%           { transform: rotate(-6deg);  }
  66%           { transform: rotate(3deg);   }
  70%           { transform: rotate(0deg);   }
}

/* ── HIZLI ÖZELLİKLER ─────────────────────────────────────── */
.qf {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 16px; padding: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.qf-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-mid);
}
.qf-item i { font-size: 12px; color: var(--green); width: 14px; flex-shrink: 0; }

/* ── KARGO BİLGİ KUTUSU ──────────────────────────────────── */
.ship-box {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 11px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.ship-row { display: flex; align-items: center; gap: 11px; }
.ship-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ship-icon.b { background: var(--blue-light); }
.ship-icon.g { background: var(--green-light); }
.ship-icon i { font-size: 15px; }
.ship-icon.b i { color: var(--blue); }
.ship-icon.g i { color: var(--green); }
.ship-txt strong { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.ship-txt span { font-size: 11px; color: var(--text-light); }

/* ── TAB'LAR ──────────────────────────────────────────────── */
.tabs-wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 56px; }
.tabs-nav {
  display: flex; border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  /* Phase 14.6: dar viewport'ta yatay scroll davranisi korunur ama scrollbar
     bar'i gizlenir — tab seciminin yaninda gri kayan cubuk gozukmesin diye. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-nav::-webkit-scrollbar { display: none; width: 0; height: 0; }
.tab-btn {
  padding: 12px 22px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-light); cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all .15s;
  background: none; border-top: none; border-left: none; border-right: none;
  white-space: nowrap;
}
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-btn:hover:not(.active) { color: var(--text-mid); }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fu .3s ease; }
@keyframes fu { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.tab-txt h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.tab-txt h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 18px 0 8px; }
.tab-txt p { font-size: 13px; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.ft-list { list-style: none; display: flex; flex-direction: column; gap: 9px; padding: 0; margin: 0; }
.ft-list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
}
.ft-list li i { font-size: 12px; color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* ── SPEC TABLE ───────────────────────────────────────────── */
.spec-tbl {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-k {
  padding: 12px 18px;
  font-size: 12px; font-weight: 600; color: var(--text-mid);
  background: var(--bg); border-right: 1px solid var(--border);
}
.spec-v {
  padding: 12px 18px;
  font-size: 12px; color: var(--text);
  background: #fff;
}

/* ── DEĞERLENDİRMELER ─────────────────────────────────────── */
.rev-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
}
.rev-sum {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  text-align: center; box-shadow: var(--shadow-sm);
}
.rev-score { font-size: 54px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 8px; }
.rev-stars { display: flex; justify-content: center; gap: 3px; margin-bottom: 6px; }
.rev-stars i { font-size: 18px; color: var(--rating); }
.rev-cnt { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.bar-row { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.bar-lbl { font-size: 11px; color: var(--text-mid); width: 20px; font-weight: 600; }
.bar-track { flex: 1; height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 3px; }
.bar-fill.gold { background: var(--rating); }
.bar-fill.grey { background: var(--border); }
.bar-pct { font-size: 10px; color: var(--text-light); width: 28px; text-align: right; }

.rev-cards { display: flex; flex-direction: column; gap: 14px; }
.rev-card {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 18px;
  box-shadow: var(--shadow-sm);
}
.rev-head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; }
.rev-av {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 14px;
  flex-shrink: 0;
}
.rev-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.rev-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.rev-st { display: flex; gap: 2px; }
.rev-st i { font-size: 10px; color: var(--rating); }
.rev-date { font-size: 11px; color: var(--text-light); }
.verified {
  display: flex; align-items: center; gap: 4px;
  font-size: 10px; color: var(--green); font-weight: 600;
}
.rev-txt { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* ── İLGİLİ ÜRÜNLER ───────────────────────────────────────── */
/* Phase 14.5: rel-card / rel-grid kaldirildi; ortak _product_card.twig + .pgrid kullaniliyor.
   .pgrid intfa-category.css'te tanimli ama urun sayfasi onu yuklemiyor; bu nedenle
   asagida .pgrid icin yerel definition. */
.related {
  background: #fff; border-top: 1px solid var(--border);
  padding: 36px 0; margin-top: 24px;
}
.rel-in { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.rel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.rel-head h2, .rel-head .rel-head-title { font-size: 18px; font-weight: 700; color: var(--text); }
.rel-head a {
  color: var(--blue); font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
  transition: gap .15s;
}
.rel-head a:hover { gap: 9px; }

/* .pgrid lokal tanim — urun detay sayfasinda kategori CSS yuklu olmadigi icin gerekli.
   Phase 14.46: kategori grid breakpoint'leri ile esitlendi (4/3/3/2). */
.related .pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 1024px) { .related .pgrid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px)  { .related .pgrid { grid-template-columns: repeat(2,1fr); gap: 8px; } }

/* Phase 14.11: .pagination-nav rule'lari intfa-common.css'e tasindi (DRY). */

/* ── NOTIFY FORM (gelince haberdar et) ────────────────────── */
.notify-form {
  margin-top: 14px; margin-bottom: 14px; padding: 18px;
  background: #fff8f0; border: 1px solid #ffe8cc;
  border-radius: var(--radius);
}
.notify-form h3, .notify-form .notify-form-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.notify-form p { font-size: 12px; color: var(--text-mid); margin-bottom: 12px; }
.notify-form input,
.notify-form textarea {
  width: 100%; padding: 8px 12px;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-family: 'Poppins', sans-serif; font-size: 13px;
  margin-bottom: 8px; outline: none;
}
.notify-form input { height: 38px; padding: 0 12px; }
.notify-form input:focus,
.notify-form textarea:focus { border-color: var(--orange); }
.notify-form button {
  width: 100%; height: 40px;
  background: var(--orange); color: #fff;
  border: none; border-radius: 7px;
  font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s;
}
.notify-form button:hover { background: var(--orange-dark); }
.notify-form-msg {
  font-size: 12px; margin-top: 8px;
  min-height: 18px;
}
.notify-form-msg:empty { margin-top: 0; min-height: 0; }
.notify-form-msg.is-success { color: var(--green); font-weight: 600; }
.notify-form-msg.is-error { color: var(--red); font-weight: 600; }
.notify-form-msg.is-loading { color: var(--text-light); font-style: italic; }

/* ── LIGHTBOX (Task 12) ───────────────────────────────────── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; padding: 24px;
}
.lightbox-overlay img { max-width: 100%; max-height: 95vh; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.2); color: #fff;
  border: 0; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 24px;
}
.lightbox-close:hover { background: rgba(255,255,255,0.4); }
/* Phase 14.45: lightbox galeri prev/next butonlari */
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); color: #fff;
  border: 0; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.4); }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .prod-wrap { padding: 16px 16px; gap: 24px; }
  .rel-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .prod-wrap { grid-template-columns: 1fr; padding: 12px 14px; gap: 20px; }
  .tabs-wrap { padding: 0 14px 40px; }
  .tab-btn { padding: 10px 14px; font-size: 12px; }
  .tab-grid { grid-template-columns: 1fr; gap: 20px; }
  .rev-layout { grid-template-columns: 1fr; }
  .rev-sum { padding: 16px; }
  /* cta-contact-row alt alta dizilimi 600 alti — tablette yan yana kalsin */
  .spec-row { grid-template-columns: 1fr; }
  .spec-k { border-right: none; border-bottom: 1px solid var(--border); }
  .rel-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .rel-in { padding: 0 14px; }
  /* Phase 14.44: 320px'te auto-fill 4 sutun verip text'i karakter karakter
     sarmaliyor — mobilde 2 sutuna sabitlendi. */
  .urun-varyant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phase 14.46: Mobilde CTA — 2 satir grid yerlesim
   Satir 1: Adet | Sepete At
   Satir 2: Simdi Al | Favori (kare)
   Tablet (601-768) icin desktop yatay yerlesim korunur. */
@media (max-width: 600px) {
  .cta-inline {
    display: grid;
    grid-template-columns: auto 1fr 44px;
    grid-template-areas:
      "qty   cart cart"
      "now   now  wish";
    gap: 8px;
    flex-wrap: initial;
  }
  .cta-inline > input[type="hidden"] { display: none; }
  .cta-inline .qty-ctrl  { grid-area: qty;  flex: none; }
  .cta-inline .btn-primary { grid-area: cart; flex: none; min-width: 0; }
  .cta-inline .btn-now   { grid-area: now;  flex: none; min-width: 0; }
  .cta-inline .btn-wish  { grid-area: wish; width: 44px; flex: none; }
  /* WhatsApp + Telefon: 600 alti alt alta — desktop ile ayni boyut (44px, 13px) */
  .cta-contact-row { flex-direction: column; gap: 8px; }
  .btn-whatsapp, .btn-phone { width: 100%; flex: none; height: 44px; }
  .qf { grid-template-columns: 1fr; }
}
