/* ============================================================
   Default Theme — CSS Custom Properties
   Admin: config_theme = 'default'
   ============================================================ */

/* 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 color palette (RGB triplets for Tailwind compatibility) */
  --primary-50:  255 245 240;
  --primary-100: 255 232 220;
  --primary-200: 255 195 170;
  --primary-300: 255 145 100;
  --primary-400: 245  95  40;
  --primary-500: 233  78  27;
  --primary-600: 210  60  20;
  --primary-700: 170  45  15;
  --primary-800: 130  35  10;
  --primary-900: 100  25   5;
  --primary-950:  50  15   0;

  /* Tema vurgu rengi — checkout step header, CTA buton, progress bar.
     Default tema: siyah (orijinal davranış). */
  --theme-accent:       0  0  0;
  --theme-accent-hover: 31 41 55;  /* gray-800 */

  /* 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);
}
/* ── Editör v-html çıktısı: ürün açıklama + blog detay ─────────────────────
   Admin'deki Tiptap editör Bullet/Ordered List üretiyor; Tailwind preflight
   ul/ol { list-style: none } ile bullet/number'ları sıfırladığı için
   frontend'de marker görünmüyordu. Aşağıdaki kurallar list-style'ı
   geri açıyor ve nested seviyelerde de doğru marker gösteriyor. */

.urun-aciklama ul,
.blog-detail-content ul {
  list-style: disc outside;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.urun-aciklama ol,
.blog-detail-content ol {
  list-style: decimal outside;
  padding-left: 1.5rem;
  margin: 0.75rem 0;
}
.urun-aciklama ul ul,
.blog-detail-content ul ul { list-style: circle outside; }
.urun-aciklama ul ul ul,
.blog-detail-content ul ul ul { list-style: square outside; }
.urun-aciklama ol ol,
.blog-detail-content ol ol { list-style: lower-alpha outside; }
.urun-aciklama ol ol ol,
.blog-detail-content ol ol ol { list-style: lower-roman outside; }
.urun-aciklama li,
.blog-detail-content li {
  margin: 0.25rem 0;
  padding-bottom: 0;
}
.urun-aciklama li > p,
.blog-detail-content li > p { margin: 0; }

/* Blog detay başlıkları — Tailwind preflight font-weight'i sıfırladığı için
   explicit olarak bold + hiyerarşik boyut veriyoruz. */
.blog-detail-content h1 { font-size: 2rem;    font-weight: 700; line-height: 1.2;  margin: 1.25rem 0 0.75rem; }
.blog-detail-content h2 { font-size: 1.625rem; font-weight: 700; line-height: 1.25; margin: 1rem 0 0.6rem; }
.blog-detail-content h3 { font-size: 1.25rem;  font-weight: 600; line-height: 1.3;  margin: 0.875rem 0 0.5rem; }

.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
}

/* ── 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); }
}
