/* ==========================================================================
   ERKEK SAĞLIK ÜRÜNLERİ - GLOBAL CSS STYLESHEET
   Dosya: assets/css/style.css
   ========================================================================== */

/* 1. Temel Sayfa Davranışları */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 2. Rozet ve Dikkat Çekici Animasyonlar */
.badge-pulse {
  animation: softPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes softPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.03);
  }
}

.live-dot {
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes livePing {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* 3. Sipariş Formu Paket Seçimi Radyo Buton Stilleri */
.pack-radio:not(:checked)+label {
  border-color: #e7e5e4 !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.pack-radio:not(:checked)+label .check-icon {
  background-color: transparent !important;
  color: transparent !important;
  border-color: #d6d3d1 !important;
}

.pack-radio:checked+label {
  border-color: #16a34a !important;
  background-color: #f0fdf4 !important;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.16) !important;
}

.pack-radio:checked+label .check-icon {
  background-color: #16a34a !important;
  color: #ffffff !important;
  border-color: #16a34a !important;
}

/* Ödeme Yöntemi Radyo Buton Stilleri */
.pay-radio:checked+label {
  border-color: #16a34a !important;
  background-color: #f0fdf4 !important;
  color: #166534 !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.12) !important;
}

.pay-radio:checked+label .pay-icon-box {
  background-color: #dcfce7 !important;
  color: #15803d !important;
}

/* 4. Ürün Galerisi Küçük Resim (Thumbnail) Stilleri */
.gallery-thumb {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.gallery-thumb:hover {
  transform: translateY(-2px);
  border-color: #16a34a;
}

.gallery-thumb.active {
  border-color: #16a34a !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2) !important;
}

/* 5. SSS / Akordiyon Açılır Kapanır Detayları */
details summary::-webkit-details-marker {
  display: none;
}

details[open] summary .faq-icon {
  transform: rotate(180deg);
}

details summary .faq-icon {
  transition: transform 0.25s ease;
}

/* 6. Modal Giriş Animasyonları */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-content-animated {
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 7. Gizli Kargo ve Güven Damgaları */
.stamp-border {
  border-style: dashed;
}