/* ============================================================
   Provitanya Theme — CSS Custom Properties
   Admin: config_theme = 'provitanya'
   ============================================================ */

/* Inter — self-hosted variable font (Google Fonts harici zincir yok).
   Tek woff2 tüm ağırlıkları (100-900) taşır. latin + latin-ext. */
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/css/fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/css/fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Primary — #EF4222 base (RGB 239 66 34) */
  --primary-50:  255 240 235;
  --primary-100: 255 222 210;
  --primary-200: 255 180 160;
  --primary-300: 252 130 100;
  --primary-400: 245  90  60;
  --primary-500: 239  66  34;
  --primary-600: 215  55  25;
  --primary-700: 175  45  20;
  --primary-800: 130  35  15;
  --primary-900:  95  25  10;
  --primary-950:  50  15   5;

  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Border radius tokens */
  --radius-card: 1.5rem;
  --radius-btn:  0.75rem;
  --radius-input: 0.75rem;

  /* Shadow tokens */
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.04), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-hover: 0 20px 40px -8px rgb(0 0 0 / 0.10);

  /* Spacing scale overrides (optional) */
  --header-height: 4rem;
}

/* ── Component overrides specific to this theme ── */

body {
  font-family: var(--font-sans);
}
.urun-aciklama ul li{
padding-bottom:25px
}
.urun-aciklama p{
padding-bottom:25px
}
.urun-aciklama h3{
font-size:18px;
font-weight:600;
padding-bottom:15px
}
.urun-aciklama h2{
font-size:18px;
font-weight:600;
padding-bottom:15px
}

/* ── FAQ Accordion (information page'lerinde <details>/<summary> kullanımı) ─────
   Admin'de v-html ile basılan içeriklerde .faq-list > .faq-item yapısı kullanılır.
   Native <details> elementinin marker'ı saklanıp özel chevron ikonu konuluyor;
   açık/kapalı durum smooth transition ile geçiş yapıyor. */
.prose .faq-list,
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1.5rem 0;
}

.faq-list .faq-item {
  border: 1px solid rgb(229 231 235);
  border-radius: 0.875rem;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-list .faq-item[open] {
  border-color: rgb(var(--primary-500) / 0.5);
  box-shadow: 0 4px 16px -4px rgb(var(--primary-500) / 0.12);
}
.faq-list .faq-item + .faq-item { margin-top: 0; }

.faq-list .faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #251F1F;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.faq-list .faq-item > summary::-webkit-details-marker { display: none; }
.faq-list .faq-item > summary::marker { content: ''; }

.faq-list .faq-item > summary:hover {
  background-color: rgb(var(--primary-50) / 0.6);
  color: rgb(var(--primary-700));
}
.faq-list .faq-item[open] > summary {
  color: rgb(var(--primary-700));
  border-bottom: 1px solid rgb(229 231 235);
}

.faq-list .faq-item > summary::after {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s ease;
}
.faq-list .faq-item[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-list .faq-answer {
  padding: 1rem 1.25rem 1.25rem;
  color: rgb(75 85 99);
  font-size: 0.9375rem;
  line-height: 1.7;
  animation: faqAnswerFadeIn 0.25s ease;
}
.faq-list .faq-answer p { margin: 0 0 0.75rem 0; }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }
.faq-list .faq-answer strong { color: #251F1F; font-weight: 700; }
.faq-list .faq-answer a {
  color: rgb(var(--primary-600));
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.faq-list .faq-answer a:hover { color: rgb(var(--primary-700)); }

@keyframes faqAnswerFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #251F1F;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

/* ── Bayilik / Yetkili Satıcı Belgeleri grid'i ──────────────────────────
   Bilgi sayfasına yerleştirilen .bayilik-grid > .bayilik-card yapısı için.
   Responsive grid, kart hover lift + primary border, click ile büyük preview. */
.prose .bayilik-grid,
.bayilik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.bayilik-grid .bayilik-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.bayilik-grid .bayilik-card:hover {
  border-color: rgb(var(--primary-500));
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgb(var(--primary-500) / 0.18);
}

.bayilik-grid .bayilik-image-wrap {
  aspect-ratio: 3 / 4;
  background: rgb(249 250 251);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}
.bayilik-grid .bayilik-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}
.bayilik-grid .bayilik-card:hover .bayilik-image-wrap img {
  transform: scale(1.04);
}

.bayilik-grid .bayilik-caption {
  padding: 0.75rem 1rem;
  background: #fff;
  border-top: 1px solid rgb(229 231 235);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #251F1F;
  text-align: center;
  letter-spacing: -0.005em;
  transition: color 0.2s ease;
}
.bayilik-grid .bayilik-card:hover .bayilik-caption {
  color: rgb(var(--primary-700));
}

.bayilik-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: #251F1F;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.bayilik-intro {
  color: rgb(75 85 99);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Bayilik kartlarındaki görseller tıklanabilir görünüm */
.bayilik-grid .bayilik-image-wrap img {
  cursor: zoom-in;
}

/* ── InformationDetail lightbox (Teleport ile body'ye render edilir) ───── */
.info-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2.5rem 1.25rem 1.25rem;
  background: rgba(15, 15, 15, 0.88);
  backdrop-filter: blur(4px);
  animation: lightboxFadeIn 0.18s ease;
  cursor: zoom-out;
}

.info-lightbox-image {
  max-width: min(96vw, 1100px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.6);
  cursor: default;
  animation: lightboxImageIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-lightbox-caption {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  max-width: 90vw;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0;
  cursor: default;
}

.info-lightbox-close {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.info-lightbox-close:hover {
  background: rgba(var(--primary-500), 0.9);
  border-color: rgb(var(--primary-500));
  transform: scale(1.08);
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lightboxImageIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

