display: grid !important;
    grid-template-columns: 188px minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: start !important;
  }
  main.Index-module__wrapper > .Widgets-module__wrapper,
  main.Index-module__wrapper > .Shop-module__wrapper {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
  .Widgets-module__wrapper { display: flex !important; flex-direction: column !important; gap: 7px !important; }
  .Widgets-module__widgetWrapper { margin: 0 !important; border-radius: 7px !important; overflow: hidden; }

  /* Catalog categories: compact wrapping rows */
  .Shop-module__wrapper > .Shop-module__header { display: none !important; }
  .Shop-module__wrapper > .boxBody { padding: 0 !important; background: transparent !important; }
  .Categories-module__categories {
    display: flex !important;
    flex-wrap: wrap !important;
    align-content: flex-start !important;
    gap: 6px !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
  }
  .Categories-module__category {
    flex: 1 0 auto !important;
    min-width: 62px !important;
    max-width: 100% !important;
    min-height: 29px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  /* Full-width search above the products */
  .Search-module__wrapper {
    width: 100% !important;
    min-height: 27px !important;
    margin: 0 0 7px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
  }
  .Search-module__input { min-height: 27px !important; font-size: 12px !important; }

  /* 4 cards per row, roughly 174 x 176 at reference viewport */
  .Products-module__wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .Products-module__wrapper > .Product-module__wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
  }
  .Product-module__wrapper > .Product-module__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .Product-module__wrapper > .Product-module__price { z-index: 2; }
  .Product-module__wrapper > .Product-module__name { z-index: 2; }
  .Product-module__wrapper > .Product-module__count { z-index: 2; }
}

/* Responsive: keep the shop functional on tablets and phones */
@media (min-width: 601px) and (max-width: 900px) {
  main.Index-module__wrapper { display: grid !important; grid-template-columns: 170px minmax(0,1fr) !important; gap: 8px !important; }
  .Products-module__wrapper { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 8px !important; }
  .Products-module__wrapper > .Product-module__wrapper { width: 100% !important; min-width: 0 !important; aspect-ratio: 1/1 !important; }
}
@media (max-width: 600px) {
  main.Index-module__wrapper { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  main.Index-module__wrapper > .Widgets-module__wrapper,
  main.Index-module__wrapper > .Shop-module__wrapper { width: 100% !important; min-width: 0 !important; }
  .Products-module__wrapper { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
  .Products-module__wrapper > .Product-module__wrapper { width: 100% !important; min-width: 0 !important; aspect-ratio: 1/1 !important; }
  .Categories-module__categories { display: flex !important; flex-wrap: wrap !important; gap: 6px !important; }
}