@media (max-width: 767px) {
  /* Keep the existing category links and photos on a white tile. */
  body#index:not(.bg_black) #angarbanners_top.atomx-family-tiles-ready .atomx-family-card {
    gap: 4px;
    color: #171717 !important;
    background: #fff !important;
    border: 1px solid #e7e7e7 !important;
    border-radius: 8px;
  }

  body#index:not(.bg_black) #angarbanners_top.atomx-family-tiles-ready .atomx-family-card__media {
    width: 49px;
    background: transparent !important;
  }

  body#index:not(.bg_black) #angarbanners_top.atomx-family-tiles-ready .atomx-family-card__media img {
    width: 44px !important;
    height: 38px !important;
    flex: 0 0 44px !important;
  }

  body#index:not(.bg_black) #angarbanners_top.atomx-family-tiles-ready .atomx-family-card__type {
    color: #171717 !important;
    font-weight: 700;
  }

  body#index:not(.bg_black) #angarbanners_top.atomx-family-tiles-ready .atomx-family-card:is(:active, :focus-visible) {
    border-color: #171717 !important;
  }

  /* Keep the transition from the category shortcuts to the first product rail compact. */
  body#index #wrapper {
    padding-top: 6px !important;
  }

  body#index #wrapper #left-column {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  body#index #content-wrapper #angarnew > .products-section-title {
    margin-bottom: 5px !important;
  }

  body#index #content-wrapper #angarnew > .products-section-title > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 0;
  }

  body#index #left-column > .block-categories {
    display: none !important;
  }
}

@media (min-width: 992px) {
  body#index #atomx-bf-offers .ax-bf-offers__track {
    --ax-offers-purchase-width: clamp(380px, 34%, 490px);
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof {
    --ax-offers-proof-image-size: 50px;
    gap: 4px;
    padding: 5px 8px;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-heading {
    font-size: 15px;
    font-weight: 750;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-items {
    column-gap: 10px;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-row {
    gap: 8px;
    min-block-size: 58px;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-name {
    display: -webkit-box;
    min-block-size: 2.4em;
    font-size: 13px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-price {
    gap: 5px;
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 800;
  }

  body#index #atomx-bf-offers .ax-bf-offers__proof-price .ax-bf-offers__drop {
    inline-size: 18px;
    block-size: 18px;
  }
}
