:root,
[data-theme="light"] {
    --dt-bg: #ffffff;
    --dt-surface: #ffffff;
    --dt-band: #1a1a2e;
    --dt-primary: #1a1a2e;
    --dt-accent: #e94560;
    --dt-accent-hover: #c73652;
    --dt-gold: #f5a623;
    --dt-light: #f8f9fa;
    --dt-border: #e5e7eb;
    --dt-text: #1f2937;
    --dt-muted: #6b7280;
    --dt-card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --dt-card-shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
}

[data-theme="dark"] {
    --dt-bg: #0f0f16;
    --dt-surface: #1a1a2e;
    --dt-band: #08080e;
    --dt-primary: #f5f5f7;
    --dt-accent: #ff6b81;
    --dt-accent-hover: #ff8a9d;
    --dt-gold: #ffc857;
    --dt-light: #23233a;
    --dt-border: #33334d;
    --dt-text: #e5e7eb;
    --dt-muted: #9ca3af;
    --dt-card-shadow: 0 2px 8px rgba(0,0,0,0.4);
    --dt-card-shadow-hover: 0 8px 24px rgba(0,0,0,0.6);
}

[data-theme="colorful"] {
    --dt-bg: #ffffff;
    --dt-surface: #ffffff;
    --dt-band: #16a34a;
    --dt-primary: #14532d;
    --dt-accent: #16a34a;
    --dt-accent-hover: #128a3e;
    --dt-gold: #f59e0b;
    --dt-light: #f0fdf4;
    --dt-border: #bbf7d0;
    --dt-text: #1f2937;
    --dt-muted: #6b7280;
    --dt-card-shadow: 0 2px 8px rgba(22,163,74,0.15);
    --dt-card-shadow-hover: 0 8px 24px rgba(22,163,74,0.25);
}

* { box-sizing: border-box; }
html { font-size: 15px; scroll-behavior: smooth; }
body { color: var(--dt-text); background: var(--dt-bg); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; transition: background-color .2s, color .2s; }

/* Tema anahtarı */
.dt-theme-switch { display: flex; gap: 2px; background: rgba(255,255,255,.12); border-radius: 20px; padding: 2px; }
.dt-theme-switch button { border: none; background: none; color: rgba(255,255,255,.7); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.dt-theme-switch button:hover { color: #fff; }
.dt-theme-switch button.active { background: rgba(255,255,255,.9); color: var(--dt-band); }
.dt-theme-switch svg { width: 14px; height: 14px; }

.dt-topbar { background: var(--dt-band); color: #fff; font-size: 0.78rem; padding: 6px 0; }
.dt-topbar a { color: rgba(255,255,255,.75); text-decoration: none; }
.dt-topbar a:hover { color: #fff; }

.dt-header { background: var(--dt-surface); border-bottom: 1px solid var(--dt-border); padding: 14px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.dt-logo { font-size: 1.5rem; font-weight: 800; color: var(--dt-primary); text-decoration: none; letter-spacing: -0.5px; }
.dt-logo span { color: var(--dt-accent); }

.dt-search-bar { flex: 1; max-width: 500px; position: relative; }
.dt-search-bar input { width: 100%; border: 2px solid var(--dt-border); border-radius: 8px; padding: 9px 44px 9px 14px; font-size: 0.9rem; transition: border-color .2s; outline: none; }
.dt-search-bar input:focus { border-color: var(--dt-accent); }
.dt-search-bar button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--dt-muted); cursor: pointer; padding: 4px; }
.dt-search-bar button:hover { color: var(--dt-accent); }

.dt-cart-btn { position: relative; text-decoration: none; color: var(--dt-primary); font-size: 1.5rem; padding: 6px; }
.dt-cart-badge { position: absolute; top: -2px; right: -6px; background: var(--dt-accent); color: #fff; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.dt-nav { background: var(--dt-band); }
.dt-nav .nav-link { color: rgba(255,255,255,.85) !important; font-size: 0.88rem; padding: 11px 16px !important; transition: color .15s, background .15s; }
.dt-nav .nav-link:hover, .dt-nav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }
.dt-nav .dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(0,0,0,.15); border-radius: 8px; padding: 8px 0; margin-top: 0; }
.dt-nav .dropdown-item { font-size: 0.88rem; padding: 8px 18px; }
.dt-nav .dropdown-item:hover { background: var(--dt-light); color: var(--dt-accent); }

.dt-hero { background: linear-gradient(135deg, var(--dt-band) 0%, #16213e 60%, #0f3460 100%); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.dt-hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 350px; height: 350px; border-radius: 50%; background: rgba(233,69,96,.15); }
.dt-hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.dt-hero-title em { color: var(--dt-accent); font-style: normal; }
.dt-hero-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 28px; }
.dt-btn-accent { background: var(--dt-accent); color: #fff; border: none; border-radius: 8px; padding: 12px 28px; font-size: 0.95rem; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s, transform .15s; }
.dt-btn-accent:hover { background: var(--dt-accent-hover); color: #fff; transform: translateY(-1px); }
.dt-btn-outline { border: 2px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 10px 26px; font-size: 0.95rem; text-decoration: none; display: inline-block; transition: border-color .2s, background .2s; }
.dt-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

.dt-section { padding: 48px 0; }
.dt-section-title { font-size: 1.45rem; font-weight: 700; color: var(--dt-primary); margin-bottom: 6px; }
.dt-section-line { width: 48px; height: 3px; background: var(--dt-accent); border-radius: 2px; margin-bottom: 28px; }

.dt-cat-card { background: var(--dt-light); border-radius: 12px; padding: 24px 16px; text-align: center; text-decoration: none; color: var(--dt-text); display: block; transition: box-shadow .2s, transform .2s; border: 1px solid var(--dt-border); }
.dt-cat-card:hover { box-shadow: var(--dt-card-shadow-hover); transform: translateY(-3px); color: var(--dt-accent); }
.dt-cat-icon { font-size: 2.2rem; margin-bottom: 10px; }
.dt-cat-name { font-weight: 600; font-size: 0.92rem; }
.dt-cat-count { font-size: 0.78rem; color: var(--dt-muted); }

.dt-product-card { border: 1px solid var(--dt-border); border-radius: 12px; overflow: hidden; background: var(--dt-surface); transition: box-shadow .2s, transform .2s; height: 100%; display: flex; flex-direction: column; }
.dt-product-card:hover { box-shadow: var(--dt-card-shadow-hover); transform: translateY(-3px); }
.dt-product-img { aspect-ratio: 1; overflow: hidden; background: var(--dt-light); display: flex; align-items: center; justify-content: center; }
.dt-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.dt-product-card:hover .dt-product-img img { transform: scale(1.05); }
.dt-product-img .dt-no-img { font-size: 3rem; color: var(--dt-border); }
.dt-product-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.dt-product-cat { font-size: 0.72rem; color: var(--dt-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.dt-product-name { font-size: 0.92rem; font-weight: 600; color: var(--dt-text); margin-bottom: 8px; line-height: 1.35; flex: 1; }
.dt-product-price { font-size: 1.15rem; font-weight: 700; color: var(--dt-accent); }
.dt-add-btn { margin-top: 10px; background: var(--dt-primary); color: #fff; border: none; border-radius: 7px; padding: 8px; width: 100%; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: background .2s; text-align: center; text-decoration: none; display: block; }
.dt-add-btn:hover { background: var(--dt-accent); color: #fff; }

.dt-badge { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; position: absolute; top: 10px; left: 10px; }
.dt-badge-new { background: var(--dt-gold); color: #fff; }
.dt-badge-sale { background: var(--dt-accent); color: #fff; }

.dt-breadcrumb { background: var(--dt-light); padding: 12px 0; font-size: 0.85rem; border-bottom: 1px solid var(--dt-border); }
.dt-breadcrumb a { color: var(--dt-muted); text-decoration: none; }
.dt-breadcrumb a:hover { color: var(--dt-accent); }
.dt-breadcrumb .sep { margin: 0 8px; color: var(--dt-border); }

.dt-filter-box { border: 1px solid var(--dt-border); border-radius: 10px; padding: 18px; background: var(--dt-surface); }
.dt-filter-title { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; color: var(--dt-primary); }

.dt-cart-row { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--dt-border); }
.dt-cart-img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; background: var(--dt-light); flex-shrink: 0; }
.dt-qty-ctrl { display: flex; align-items: center; gap: 8px; }
.dt-qty-btn { width: 30px; height: 30px; border: 1px solid var(--dt-border); border-radius: 6px; background: var(--dt-surface); color: var(--dt-text); cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: border-color .15s; }
.dt-qty-btn:hover { border-color: var(--dt-accent); color: var(--dt-accent); }
.dt-qty-val { font-weight: 600; min-width: 24px; text-align: center; }

.dt-detail-img-wrap { border: 1px solid var(--dt-border); border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--dt-light); }
.dt-detail-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.dt-detail-price { font-size: 2rem; font-weight: 800; color: var(--dt-accent); }
.dt-stock-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.dt-stock-ok { background: #dcfce7; color: #15803d; }
.dt-stock-low { background: #fef3c7; color: #92400e; }
.dt-stock-out { background: #fee2e2; color: #991b1b; }

.dt-footer { background: var(--dt-band); color: rgba(255,255,255,.75); padding: 48px 0 24px; margin-top: 60px; }
.dt-footer h6 { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: 0.8rem; margin-bottom: 16px; }
.dt-footer a { color: rgba(255,255,255,.65); text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.88rem; transition: color .15s; }
.dt-footer a:hover { color: #fff; }
.dt-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: 0.82rem; }

.dt-empty { text-align: center; padding: 60px 20px; color: var(--dt-muted); }
.dt-empty-icon { font-size: 3.5rem; margin-bottom: 16px; }

@media (max-width: 768px) {
    .dt-hero { padding: 40px 0; }
    .dt-search-bar { width: 100%; max-width: 100%; margin-top: 10px; }
}


@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hukuki sayfa içerik stili */
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dt-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--dt-accent);
}
.legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dt-primary);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.legal-content p, .legal-content li {
  color: var(--dt-text);
  line-height: 1.8;
  font-size: .95rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
}
.legal-content table {
  font-size: .9rem;
}