/* product.css — product.html only */

html, body {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}
body {
    position: static !important;
    overflow-x: clip;
}

/* PRODUCT GALLERY */
.gallery-thumb {
    background:
        radial-gradient(circle at 50% 45%, rgba(212, 175, 55, 0.28), transparent 60%),
        linear-gradient(140deg, #f2efe7 0%, #e8e2d3 50%, #d8cfba 100%);
    position: relative;
    overflow: hidden;
}
.gallery-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.06'/></svg>");
    pointer-events: none;
}
.thumb-mini {
    transition: border-color 240ms ease, transform 240ms ease;
}
.thumb-mini.active { border-color: #D4AF37; }
.thumb-mini:hover  { transform: translateY(-2px); }

/* MOBILE GALLERY SNAP */
.gallery-snap {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gallery-snap::-webkit-scrollbar { display: none; }
.gallery-snap > * { scroll-snap-align: start; }

/* PRODUCT BUTTON OVERRIDES — extra letter-spacing */
.btn-ghost {
    letter-spacing: 0.14em;
}
.btn-ghost:hover {
    letter-spacing: 0.18em;
}

/* GOLD CTA (Hemen Satın Al) — özel altın varyant */
/* ALTIN BUTON
   ESKİ KURGUNUN İKİ HATASI VARDI:
   1) Hover geçişi ::before ile ayrı bir katman olarak çiziliyor, metni üstte tutmak için
      `.btn-gold > * { z-index: 1 }` kullanılıyordu. Bu seçici yalnız ELEMENT çocukları
      kapsar; "Sepete Ekle" çıplak bir metin düğümü olduğu için katmanın ALTINDA kalıp
      hover'da kayboluyordu — ikon <svg> olduğundan görünmeye devam ediyordu.
   2) Hover'da letter-spacing 0.14em → 0.18em değişiyordu; metin genişlediği için düğme
      içeriği her fare temasında oynuyor, "zıplama" hissi veriyordu.
   ÇÖZÜM: örtü katmanı tamamen kaldırıldı. Geçiş, arka planın KENDİSİ üzerinde
   background-position ile yapılıyor — yığılma sırası sorunu doğmuyor, metin her zaman
   üstte ve sabit. */
.btn-gold {
    background-image: linear-gradient(115deg, #D4AF37 0%, #C5A880 45%, #D4AF37 100%);
    background-size: 220% 100%;
    background-position: 0 0;
    color: #0D1117;
    letter-spacing: 0.12em;
    border-radius: 10px;
    transition: background-position 520ms ease, box-shadow 260ms ease, transform 120ms ease;
}
.btn-gold:hover {
    background-position: 100% 0;
    box-shadow: 0 14px 34px -16px rgba(212, 175, 55, 0.65);
}
.btn-gold:active { transform: translateY(1px); }
.btn-gold:focus-visible { outline: 3px solid rgba(13, 17, 23, .45); outline-offset: 2px; }
/* İkon ile metin arası nefes payı; ikon metinle aynı optik hizada */
.btn-gold svg, .btn-gold i { flex: 0 0 auto; }

/* SIZE PILLS */
.size-pill {
    transition: all 240ms ease;
    min-width: 56px;
    min-height: 48px;
}
.size-pill:hover { border-color: #C5A880; }
.size-pill.active {
    background: #0D1117;
    color: #FAF9F6;
    border-color: #0D1117;
}
.size-pill.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* SPEC TABLE */
.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 14px 0;
    border-bottom: 1px solid #E8E5DE;
    font-size: 14px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
    color: #6B6B6B;
    letter-spacing: 0.04em;
}
.spec-row dd {
    color: #0D1117;
    font-weight: 500;
    text-align: right;
}

/* CERTIFICATE CARD */
.cert-card {
    background:
        radial-gradient(ellipse at 0% 0%, rgba(212, 175, 55, 0.05), transparent 60%),
        #FFFFFF;
    border: 1px solid #E8E5DE;
}
.cert-seal {
    background:
        radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.4), transparent 60%),
        linear-gradient(135deg, #D4AF37 0%, #C5A880 100%);
}

/* ACCORDION */
.accordion-item summary { list-style: none; cursor: pointer; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary .chevron { transition: transform 280ms ease; }
.accordion-item[open] summary .chevron { transform: rotate(180deg); }
.accordion-body { animation: slideDown 320ms ease; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* MOBILE STICKY BOTTOM BAR — sayfaya boşluk bırak */
@media (max-width: 1023px) {
    body { padding-bottom: 100px; }
}
