/* Özgür Su Arıtma 9Q — Public homepage dark theme layer.
   The central /assets/css/oz-tema.css remains the source of shared theme styling.
   Light mode is intentionally unchanged; dark mode only overrides homepage details.
   Does not alter store/admin, images, database or category navigation logic. */
html[data-oz-theme="dark"] {
  --premium-ink:#eaf2ff;
  --premium-blue:#7abaff;
  --premium-cyan:#51c7ec;
}
html[data-oz-theme="dark"] body {
  background:#0e1726 !important;
  color:#eaf2ff;
}
html[data-oz-theme="dark"] .navbar {
  background:#16263a !important;
  border-bottom:1px solid #354863;
  box-shadow:0 6px 24px rgba(0,0,0,.22);
}
html[data-oz-theme="dark"] .navbar .top-search .form-control {
  background:#1b304a !important;
  border-color:#405977 !important;
  color:#f1f7ff !important;
}
html[data-oz-theme="dark"] .top-search .search-icon {color:#99bddf}
html[data-oz-theme="dark"] .nav-icon-btn {
  background:#203951 !important;
  border-color:#41627f !important;
  color:#a5d7ff !important;
}
html[data-oz-theme="dark"] .nav-icon-btn:hover {background:#2b4b68 !important}
/* Make the homepage sidebar fully readable (9P introduces new sidebar classes). */
html[data-oz-theme="dark"] .oz-home-categories {
  background:linear-gradient(155deg,#17273d,#203752) !important;
  box-shadow:0 11px 30px rgba(0,0,0,.19);
  border:1px solid #304761;
}
html[data-oz-theme="dark"] .oz-category-eyebrow {color:#b4d2f1}
html[data-oz-theme="dark"] .oz-home-category-nav {scrollbar-color:#466484 transparent}
html[data-oz-theme="dark"] .oz-home-category-nav a:not([aria-current="true"]) {
  color:#cfdef3;
  background:transparent;
}
html[data-oz-theme="dark"] .oz-home-category-nav a:not([aria-current="true"]):hover {
  color:#fff;
  background:#2b4a6c;
}
html[data-oz-theme="dark"] .oz-home-category-nav a[aria-current="true"] {
  color:#fff;
  background:linear-gradient(108deg,#1862c2,#2b8fd9);
}
html[data-oz-theme="dark"] .oz-home-category-nav a:not([aria-current="true"]) .oz-category-count {
  background:#365575;
  color:#e1efff;
}
html[data-oz-theme="dark"] .oz-home-category-nav a[aria-current="true"] .oz-category-count {
  background:rgba(255,255,255,.23);
  color:#fff;
}
html[data-oz-theme="dark"] .oz-category-feedback {color:#afd5ff}
/* Card content: do not invert uploaded photographs or logos. */
html[data-oz-theme="dark"] .urun-card {
  background:#1b2d44 !important;
  color:#eaf3ff !important;
  border:1px solid #344d68 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.17) !important;
}
html[data-oz-theme="dark"] .urun-card:hover {
  box-shadow:0 12px 28px rgba(0,0,0,.3) !important;
}
html[data-oz-theme="dark"] .urun-card .card-body,
html[data-oz-theme="dark"] .urun-card .card-body p {color:#edf5ff !important}
html[data-oz-theme="dark"] .urun-card .card-body .text-custom {color:#81c4ff !important}
html[data-oz-theme="dark"] .product-image-placeholder {
  background:#223d5b;
  color:#78afe0;
}
html[data-oz-theme="dark"] .sub-slider-card {
  background:#1b2d44 !important;
  border-color:#344d68 !important;
}
html[data-oz-theme="dark"] #productSuggest {
  background:#1b2d44 !important;
  border-color:#34506c !important;
}
html[data-oz-theme="dark"] #productSuggest .search-hit {
  color:#ebf4ff !important;
  border-color:#344d68;
}
html[data-oz-theme="dark"] #productSuggest .search-hit:hover {background:#274463 !important}
html[data-oz-theme="dark"] #productSuggest .search-hit .price {color:#8ecaff}
html[data-oz-theme="dark"] .nav-dd-link small {color:#a8bed5}
html[data-oz-theme="dark"] .premium-section-title .text-muted {color:#adc0d8 !important}
html[data-oz-theme="dark"] footer.bg-white {
  background:#15253a !important;
  border-color:#334b67 !important;
}
html[data-oz-theme="dark"] .modal-content {background:#192d44 !important;color:#edf4ff}
html[data-oz-theme="dark"] .btn-close {filter:invert(1) grayscale(100%)}
/* The water-blue hero gradient and product photo backgrounds are intentionally retained. */
@media(max-width:576px){
  .oz-home-theme-toggle{width:36px;min-width:36px;height:36px;padding:0;}
  .oz-home-theme-toggle .oz-theme-caption{display:none}
  .navbar .ms-auto{gap:6px!important}
}
@media print {
  .oz-home-theme-toggle{display:none!important}
}
