/* Ana sayfa: orijinal site CSS ile uyum */
body.ecommerce:has(.home-banners) {
  background: #fff;
}

body.ecommerce:has(.page-main-store) .site {
  min-height: 100vh;
}

body.ecommerce .page-main-store {
  padding: 0;
  max-width: none;
  width: 100%;
}

body.ecommerce .home-vitrin-wrap.container {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

body.ecommerce:has(.page-main-store) .trust-block,
body.ecommerce:has(.page-main-store) .site-footer {
  width: 100%;
  max-width: none;
}

body.ecommerce:has(.page-main-store) .trust-block .container,
body.ecommerce:has(.page-main-store) .site-footer .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: min(1200px, calc(100% - 32px));
}

@media (max-width: 500px) {
  body.ecommerce .header {
    position: sticky;
    top: 0;
    z-index: 200;
  }
}

body.ecommerce .menu-search .form-control {
  width: 100%;
  border: 0;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
}

body.ecommerce #arama2.input-group.store-search {
  position: relative;
  display: flex;
  align-items: stretch;
}


body.ecommerce .store-empty-hint {
  max-width: 640px;
  margin: 32px auto;
  padding: 20px 24px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
}

body.ecommerce .seo-block.aciklamatext {
  max-width: 1480px;
  margin: 24px auto 48px;
  padding: 0 15px;
  text-align: left;
}

body.ecommerce .seo-block.aciklamatext h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

body.ecommerce .seo-block.aciklamatext p {
  font-size: 16px;
  line-height: 24px;
  color: rgb(70, 70, 70);
  font-weight: 300;
}

/* Banner: css/banner-main.css + css/banner-home.css (index.php) */

body.ecommerce .topsNEW .product_resimdiv img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 993px) {
  body.ecommerce .product_resimdiv {
    height: 260px;
    max-height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.ecommerce .product_resimdiv img {
    max-height: 248px;
    width: auto;
    max-width: 100%;
  }

  body.ecommerce .products .product,
  body.ecommerce .products a.product {
    height: auto;
    min-height: 400px;
    max-height: 430px;
  }
}

@media (max-width: 768px) {
  body.ecommerce .home-vitrin-wrap.container {
    padding-left: 8px;
    padding-right: 8px;
  }

  body.ecommerce .page-main-store > .container {
    width: 100%;
    max-width: 100% !important;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 16px !important;
  }
}
