.products.homepage-products-2 .p .image {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.products.homepage-products-2 .p .image img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.products.homepage-products-2 .p .image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.25),   /* tenká šedá linka */
    0 6px 14px rgba(0,0,0,.15);       /* jemný stín */
  transition: box-shadow .25s ease;
}


.products.homepage-products-2 .p .image:hover img {
  transform: scale(1.03);
  filter: brightness(1.03);
}
.products.homepage-products-2 .p .image:hover::after {
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.4),   
    0 10px 20px rgba(0,0,0,.25);
}


.products.homepage-products-2 .product.active .image::after {
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.45),
    0 12px 24px rgba(0,0,0,.3);
}



.products.homepage-products-2 .p .image,
.products.homepage-products-3 .p .image {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.products.homepage-products-2 .p .image img,
.products.homepage-products-3 .p .image img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

.products.homepage-products-2 .p .image::after,
.products.homepage-products-3 .p .image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.25),
    0 6px 14px rgba(0,0,0,.15);
  transition: box-shadow .25s ease;
}

.products.homepage-products-2 .p .image:hover img,
.products.homepage-products-3 .p .image:hover img {
  transform: scale(1.03);
  filter: brightness(1.03);
}
.products.homepage-products-2 .p .image:hover::after,
.products.homepage-products-3 .p .image:hover::after {
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.4),
    0 10px 20px rgba(0,0,0,.25);
}

.products.homepage-products-2 .product.active .image::after,
.products.homepage-products-3 .product.active .image::after {
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.45),
    0 12px 24px rgba(0,0,0,.30);
}


/* Obrázek – rámeček + jemný stín (2, 3 i 7) */
.products.homepage-products-2 .p .image,
.products.homepage-products-3 .p .image,
.products.homepage-products-7 .p .image{
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

/* IMG uvnitř */
.products.homepage-products-2 .p .image img,
.products.homepage-products-3 .p .image img,
.products.homepage-products-7 .p .image img{
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform .25s ease, filter .25s ease;
}

/* Vnitřní rámeček + stín */
.products.homepage-products-2 .p .image::after,
.products.homepage-products-3 .p .image::after,
.products.homepage-products-7 .p .image::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.25),
    0 6px 14px rgba(0,0,0,.15);
  transition: box-shadow .25s ease;
}

/* Hover efekt */
.products.homepage-products-2 .p .image:hover img,
.products.homepage-products-3 .p .image:hover img,
.products.homepage-products-7 .p .image:hover img{
  transform: scale(1.03);
  filter: brightness(1.03);
}
.products.homepage-products-2 .p .image:hover::after,
.products.homepage-products-3 .p .image:hover::after,
.products.homepage-products-7 .p .image:hover::after{
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.4),
    0 10px 20px rgba(0,0,0,.25);
}

/* Aktivní položka – silnější zvýraznění */
.products.homepage-products-2 .product.active .image::after,
.products.homepage-products-3 .product.active .image::after,
.products.homepage-products-7 .product.active .image::after{
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,.45),
    0 12px 24px rgba(0,0,0,.30);
}
