/* Bultix listing pages — mobil 2 kolon (En Cok / Hafta / Yeni + genel katalog) */

@media (max-width: 768px) {
  html.phone .main-products.product-grid,
  html.mobile .main-products.product-grid,
  html.route-bultix-most_ordered .main-products.product-grid,
  html.route-bultix-weekly_deals .main-products.product-grid,
  html.route-bultix-new_arrivals .main-products.product-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  html.phone .main-products.product-grid .product-layout,
  html.phone .main-products.product-grid .product-layout:not(.swiper-slide),
  html.phone .one-column #content .main-products.product-grid .product-layout:not(.swiper-slide),
  html.mobile .main-products.product-grid .product-layout:not(.swiper-slide),
  html.route-bultix-most_ordered .main-products.product-grid .product-layout:not(.swiper-slide),
  html.route-bultix-weekly_deals .main-products.product-grid .product-layout:not(.swiper-slide),
  html.route-bultix-new_arrivals .main-products.product-grid .product-layout:not(.swiper-slide) {
    width: calc(50% - 6px) !important;
    min-width: calc(50% - 6px) !important;
    max-width: calc(50% - 6px) !important;
    flex: 0 0 calc(50% - 6px) !important;
    margin: 0 12px 12px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  html.phone .main-products.product-grid .product-layout:nth-child(2n),
  html.mobile .main-products.product-grid .product-layout:nth-child(2n),
  html.route-bultix-most_ordered .main-products.product-grid .product-layout:nth-child(2n),
  html.route-bultix-weekly_deals .main-products.product-grid .product-layout:nth-child(2n),
  html.route-bultix-new_arrivals .main-products.product-grid .product-layout:nth-child(2n) {
    margin-right: 0 !important;
  }

  html.route-bultix-most_ordered .bultix-card-image,
  html.route-bultix-weekly_deals .bultix-card-image,
  html.route-bultix-new_arrivals .bultix-card-image,
  html.phone .bultix-card-layout .bultix-card-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  html.route-bultix-most_ordered .bultix-card-image img,
  html.route-bultix-weekly_deals .bultix-card-image img,
  html.route-bultix-new_arrivals .bultix-card-image img,
  html.phone .bultix-card-layout .bultix-card-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
  }
}
