/*
 * Fokusxlab tema – Logo renklerinden esinlenen ana tema
 * Zümrüt yeşili, teal, gökyüzü mavisi, pembe-mor vurgu
 */

:root {
  --fokusxlab-emerald: #10b981;
  --fokusxlab-teal: #0d9488;
  --fokusxlab-sky: #06b6d4;
  --fokusxlab-accent-purple: #a855f7;
  --fokusxlab-dark: #0f172a;
}

/* Logo büyütme */
.navbar-brand .logo-image,
.navbar-brand .main-logo,
#main-logo .logo-image,
#main-logo .main-logo {
  height: 84px !important;
  max-height: 84px !important;
}
.navbar-brand .logo-image img,
.navbar-brand .main-logo img,
#main-logo .logo-image img {
  max-height: 84px !important;
  height: auto !important;
  width: auto !important;
  object-fit: contain;
}

/* Ana vurgu rengi – zümrüt yeşili (logo) */
.style-accent-bg,
.btn.style-accent-bg,
.gmap-buttons.style-accent-bg {
  background-color: var(--fokusxlab-emerald) !important;
  border-color: var(--fokusxlab-emerald) !important;
}
.text-accent-color,
.text-accent-color:hover,
a .text-accent-color {
  color: var(--fokusxlab-emerald) !important;
  fill: var(--fokusxlab-emerald) !important;
}
.btn-accent,
.btn-color-accent {
  background-color: var(--fokusxlab-emerald) !important;
  border-color: var(--fokusxlab-emerald) !important;
  color: #fff !important;
}
.btn-accent:hover,
.btn-color-accent:hover {
  background-color: var(--fokusxlab-teal) !important;
  border-color: var(--fokusxlab-teal) !important;
}

/* Menü / header arka planı – hafif yeşil ton */
.style-color-xsdn-bg.menu-container,
.style-color-xsdn-bg.row-container {
  background-color: #f0fdf4 !important;
}
.style-light .text-color-xsdn-color {
  color: #14532d !important;
  fill: #14532d !important;
}
.style-dark .text-color-xsdn-color {
  color: #f0fdf4 !important;
  fill: #f0fdf4 !important;
}

/* Link ve buton vurguları */
a.btn-underline-in:hover,
.custom-link.btn-underline-in:hover,
.btn-underline-in .fa-arrow-right2 {
  color: var(--fokusxlab-teal) !important;
}
.border-accent-color,
.border-color-accent {
  border-color: var(--fokusxlab-emerald) !important;
}

/* Koyu bloklar – hafif mavi ton (logo mavisi) */
.style-color-wayh-bg {
  background-color: var(--fokusxlab-dark) !important;
}
.style-color-nhtu-bg {
  background-color: #1e293b !important;
}

/* Gradient overlay'ler */
.tmb-overlay-gradient-top .style-accent-bg {
  background-image: linear-gradient(to bottom, var(--fokusxlab-emerald) 0%, rgba(16, 185, 129, 0) 50%) !important;
}
.tmb-overlay-gradient-bottom .style-accent-bg {
  background-image: linear-gradient(to top, var(--fokusxlab-emerald) 0%, rgba(16, 185, 129, 0) 50%) !important;
}

.uncode-map-wrapper[data-ui] {
  --map-accent: var(--fokusxlab-emerald);
}

/* Ürün listesi – seçili kategori vurgusu */
.term-filter.current-category .term-filter-link,
.term-filter.current-category .swatch {
  background-color: rgba(16, 185, 129, 0.12) !important;
  border-color: var(--fokusxlab-emerald) !important;
  color: var(--fokusxlab-teal) !important;
}
.term-filter .term-filter-link:hover {
  color: var(--fokusxlab-emerald) !important;
}

/* Ana sayfa altı – kategori kartları (ODOR NEUTRALIZERS, BIOTECHNOLOGICAL, KITCHEN HYGIENE vb.) beyaz yazı */
#row-unique-3 .text-color-xsdn-color,
#row-unique-4 .text-color-xsdn-color {
  color: #fff !important;
  fill: #fff !important;
}
#row-unique-3 .btn-underline-in.text-color-xsdn-color,
#row-unique-4 .btn-underline-in.text-color-xsdn-color,
#row-unique-3 .btn-underline-in.text-color-xsdn-color .fa,
#row-unique-4 .btn-underline-in.text-color-xsdn-color .fa {
  color: #fff !important;
  fill: #fff !important;
}
#row-unique-3 .btn-underline-in.text-color-xsdn-color:hover,
#row-unique-4 .btn-underline-in.text-color-xsdn-color:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Kataloglar sayfası – kartlar ve sayfa düzeni */
.post-catalogs .catalog-cards-row {
  width: 100%;
  max-width: 100%;
  padding-top: 2rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}
.post-catalogs .catalog-cards-row .row-parent,
.post-catalogs .catalog-cards-row .row-inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}
.post-catalogs .catalog-cards-row .wpb_column {
  flex: 0 0 33.333% !important;
  max-width: 33.333% !important;
  width: 33.333% !important;
  float: none !important;
  margin-bottom: 1.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  box-sizing: border-box;
}
@media (max-width: 959px) {
  .post-catalogs .catalog-cards-row .wpb_column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}
@media (max-width: 575px) {
  .post-catalogs .catalog-cards-row .wpb_column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
.post-catalogs .catalog-card {
  height: 100%;
  padding: 1.25rem 1rem;
  border-radius: 8px;
  border-left-width: 4px;
  border-left-style: solid;
  background-color: transparent;
}
.post-catalogs .catalog-card .heading-text.el-text h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.post-catalogs .catalog-card .text-small {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.post-catalogs .catalog-card .btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.post-catalogs .catalog-card .btn-sm:hover {
  opacity: 0.9;
}
.post-catalogs #page-header .row-header {
  min-height: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.post-catalogs #page-header .row-header [data-height-ratio] {
  min-height: 0 !important;
}

/* Footer / iletişim bölümündeki logo: koyu arka planda beyaz Fokusxlab logosu */
.style-color-nhtu-bg .uncode-single-media-wrapper img[src*="fokusxlab_logo"],
#row-unique-8 .uncode-single-media-wrapper img[src*="fokusxlab_logo"] {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Kataloglar sayfası – products benzeri grid (index-catalogs) kutu kutu görünsün */
#index-catalogs.cssgrid-system .cssgrid-container.cssgrid-layout {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
#index-catalogs .cssgrid-container .tmb {
  display: block !important;
  min-width: 0 !important;
  break-inside: avoid;
}
#index-catalogs .cssgrid-container .tmb .t-entry-visual-cont {
  position: relative !important;
  border-radius: 8px;
  overflow: hidden;
}
#index-catalogs .cssgrid-container .tmb .t-entry-text {
  padding-top: 0.75rem;
}
@media (max-width: 959px) {
  #index-catalogs.cssgrid-system .cssgrid-container.cssgrid-layout {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 575px) {
  #index-catalogs.cssgrid-system .cssgrid-container.cssgrid-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Ürün detay sayfası: içerik (body) arka planı beyaz */
body.single-product,
body.single-product .main-wrapper,
body.single-product .page-wrapper,
body.single-product .page-body,
body.single-product .main-container {
  background-color: #fff !important;
}
.single-product .row-container.style-color-xsdn-bg,
.single-product .style-color-xsdn-bg.row-container {
  background-color: #fff !important;
}
.single-product .uncol.style-light {
  background-color: transparent !important;
}

/* Ürün detay sayfası: görsel tıklayınca büyütme/lightbox kapalı */
.woocommerce-product-gallery--zoom-disabled .woocommerce-main-image,
.woocommerce-product-gallery--zoom-disabled .zoom-overlay {
  pointer-events: none !important;
  cursor: default !important;
}
.woocommerce-product-gallery--zoom-disabled .zoom-overlay {
  display: none !important;
}
