/**
 * Bultix — Ana sayfa premium cilasi (yalnizca gorunum; icerik/siralama degismez)
 * Scope: html.route-common-home
 */

html.route-common-home {
  --bx-navy: #1a2744;
  --bx-navy-hover: #243556;
  --bx-text: #0f172a;
  --bx-muted: #64748b;
  --bx-surface: #ffffff;
  --bx-border: #e2e8f0;
  --bx-radius: 12px;
  --bx-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(15, 23, 42, 0.04);
  --bx-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.1);
  --bx-section-gap: clamp(40px, 5vw, 56px);
}

/* ── Bolum araliklari ── */
html.route-common-home #common-home {
  padding-top: var(--bx-section-gap);
}

html.route-common-home #content-top > .grid-rows > .grid-row + .grid-row {
  margin-top: var(--bx-section-gap);
}

/* Gizli slider kolonu bosluk birakmasin */
html.route-common-home .grid-row-content-top-1 {
  padding-top: 0;
  margin-top: 0;
}

html.route-common-home .grid-col-content-top-1-1 {
  display: none !important;
  width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html.route-common-home .grid-col-content-top-1-2 {
  width: 100% !important;
  max-width: 100%;
  padding-right: 0;
}

/* ── Neden Bultix? ── */
html.route-common-home .module-title-162 {
  margin-top: 0;
  margin-bottom: clamp(8px, 1.5vw, 12px);
  text-align: center;
}

html.route-common-home .module-title-162 .title-wrapper {
  text-align: center !important;
}

html.route-common-home .module-title-162 .title-wrapper h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
  color: var(--bx-text) !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

html.route-common-home .module-title-162 .subtitle {
  color: var(--bx-muted) !important;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.6;
}

html.route-common-home .module-title-162 .title-divider {
  display: none !important;
}

/* ── Premium kartlar (ozellik modulleri; Neden Bultix basligi haric) ── */
html.route-common-home .module-title-357,
html.route-common-home .module-title-413,
html.route-common-home .module-title-414,
html.route-common-home .module-title-415,
html.route-common-home .module-title-412 {
  height: 100%;
}

html.route-common-home .module-title-357 .title-wrapper,
html.route-common-home .module-title-413 .title-wrapper,
html.route-common-home .module-title-414 .title-wrapper,
html.route-common-home .module-title-415 .title-wrapper,
html.route-common-home .module-title-412 .title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  background: var(--bx-surface);
  border: 1px solid var(--bx-border);
  border-radius: var(--bx-radius);
  box-shadow: var(--bx-shadow);
  padding: clamp(18px, 2.5vw, 26px);
  text-align: left !important;
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

@media (hover: hover) {
  html.route-common-home .module-title-357 .title-wrapper:hover,
  html.route-common-home .module-title-413 .title-wrapper:hover,
  html.route-common-home .module-title-414 .title-wrapper:hover,
  html.route-common-home .module-title-415 .title-wrapper:hover,
  html.route-common-home .module-title-412 .title-wrapper:hover {
    box-shadow: var(--bx-shadow-hover);
    transform: translateY(-2px);
    border-color: #cbd5e1;
  }
}

html.route-common-home .module-title-357 .title-wrapper h3,
html.route-common-home .module-title-413 .title-wrapper h3,
html.route-common-home .module-title-414 .title-wrapper h3,
html.route-common-home .module-title-415 .title-wrapper h3,
html.route-common-home .module-title-412 .title-wrapper h3 {
  font-size: clamp(1rem, 1.5vw, 1.125rem) !important;
  color: var(--bx-navy) !important;
  line-height: 1.3;
  margin: 0 0 8px;
}

html.route-common-home .module-title-357 .title-wrapper .subtitle,
html.route-common-home .module-title-413 .title-wrapper .subtitle,
html.route-common-home .module-title-414 .title-wrapper .subtitle,
html.route-common-home .module-title-415 .title-wrapper .subtitle,
html.route-common-home .module-title-412 .title-wrapper .subtitle {
  font-size: clamp(0.875rem, 1.2vw, 0.9375rem) !important;
  color: var(--bx-muted) !important;
  line-height: 1.55;
  max-width: none;
}

html.route-common-home .module-title-357 .title-divider,
html.route-common-home .module-title-413 .title-divider,
html.route-common-home .module-title-414 .title-divider,
html.route-common-home .module-title-415 .title-divider,
html.route-common-home .module-title-412 .title-divider {
  display: none !important;
}

/* Neden Bultix satiri: baslik ile kartlar arasi bosluk */
html.route-common-home .grid-row-content-top-2 .grid-items {
  align-items: stretch;
}

/* ── CTA butonu ── */
html.route-common-home .module-button-418 {
  margin-top: clamp(8px, 1.5vw, 16px);
}

html.route-common-home .module-button-418 .btn {
  background: var(--bx-navy) !important;
  border: 1px solid var(--bx-navy) !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  line-height: 1.2;
  min-height: 48px;
  max-width: 340px;
  width: auto !important;
  padding: 0 28px !important;
  transform: none !important;
  box-shadow: none;
  transition: background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

html.route-common-home .module-button-418 .btn:hover,
html.route-common-home .module-button-418 .btn:focus {
  background: var(--bx-navy-hover) !important;
  border-color: var(--bx-navy-hover) !important;
  transform: translateY(-1px);
}

/* ── Kategori / promo bannerlar ── */
html.route-common-home .module-banners-350 .module-item > a,
html.route-common-home .module-banners-363 .module-item > a {
  border-radius: var(--bx-radius) !important;
  overflow: hidden;
  border-color: var(--bx-border) !important;
}

html.route-common-home .module-banners-350 .module-item > a img,
html.route-common-home .module-banners-363 .module-item > a img {
  display: block;
}

@media (hover: hover) {
  html.route-common-home .module-banners-350 .module-item:hover > a {
    box-shadow: var(--bx-shadow-hover) !important;
  }
}

/* ── Urun bolumleri ── */
html.route-common-home .module-products-391 .title.module-title,
html.route-common-home .module-products-388 .title.module-title {
  color: var(--bx-text) !important;
  font-size: clamp(1.25rem, 2vw, 1.5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  margin-bottom: clamp(16px, 2.5vw, 24px) !important;
  text-align: center;
}

html.route-common-home .module-products-391 .title.module-title::after,
html.route-common-home .module-products-388 .title.module-title::after {
  background: var(--bx-navy) !important;
  height: 2px !important;
  width: 40px !important;
}

html.route-common-home .module-products-391 .product-thumb,
html.route-common-home .module-products-388 .product-thumb {
  border-radius: var(--bx-radius);
  overflow: hidden;
  border: 1px solid var(--bx-border);
  box-shadow: var(--bx-shadow);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

@media (hover: hover) {
  html.route-common-home .module-products-391 .product-thumb:hover,
  html.route-common-home .module-products-388 .product-thumb:hover {
    box-shadow: var(--bx-shadow-hover);
    transform: translateY(-2px);
  }
}

/* ── Guven bloklari ── */
html.route-common-home .module-info_blocks-365 .info-block {
  background: var(--bx-surface);
  border: 1px solid var(--bx-border);
  border-radius: var(--bx-radius);
  box-shadow: var(--bx-shadow);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

@media (hover: hover) {
  html.route-common-home .module-info_blocks-365 .info-block:hover {
    box-shadow: var(--bx-shadow-hover);
    transform: translateY(-2px);
  }
}

/* ── Mobil hizalama ── */
@media (max-width: 767px) {
  html.route-common-home {
    --bx-section-gap: 36px;
  }

  html.route-common-home .module-title-357 .title-wrapper,
  html.route-common-home .module-title-413 .title-wrapper,
  html.route-common-home .module-title-414 .title-wrapper,
  html.route-common-home .module-title-415 .title-wrapper,
  html.route-common-home .module-title-412 .title-wrapper {
    padding: 18px 16px;
  }

  html.route-common-home .module-button-418 .btn {
    max-width: 100%;
    width: 100% !important;
  }

  html.route-common-home .module-products-391 .product-thumb:hover,
  html.route-common-home .module-products-388 .product-thumb:hover,
  html.route-common-home .module-title-357 .title-wrapper:hover,
  html.route-common-home .module-title-413 .title-wrapper:hover,
  html.route-common-home .module-title-414 .title-wrapper:hover,
  html.route-common-home .module-title-415 .title-wrapper:hover,
  html.route-common-home .module-title-412 .title-wrapper:hover,
  html.route-common-home .module-info_blocks-365 .info-block:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.route-common-home .module-title-357 .title-wrapper,
  html.route-common-home .module-title-413 .title-wrapper,
  html.route-common-home .module-title-414 .title-wrapper,
  html.route-common-home .module-title-415 .title-wrapper,
  html.route-common-home .module-title-412 .title-wrapper,
  html.route-common-home .module-button-418 .btn,
  html.route-common-home .module-products-391 .product-thumb,
  html.route-common-home .module-products-388 .product-thumb,
  html.route-common-home .module-info_blocks-365 .info-block {
    transition: none;
  }

  html.route-common-home .module-title-357 .title-wrapper:hover,
  html.route-common-home .module-title-413 .title-wrapper:hover,
  html.route-common-home .module-title-414 .title-wrapper:hover,
  html.route-common-home .module-title-415 .title-wrapper:hover,
  html.route-common-home .module-title-412 .title-wrapper:hover,
  html.route-common-home .module-button-418 .btn:hover,
  html.route-common-home .module-products-391 .product-thumb:hover,
  html.route-common-home .module-products-388 .product-thumb:hover,
  html.route-common-home .module-info_blocks-365 .info-block:hover {
    transform: none;
  }
}
