.order-category .product {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-areas:
    "media copy"
    "quantity quantity";
  align-items: start;
  justify-content: initial;
  gap: .75rem 1rem;
}

.order-category .product-media {
  grid-area: media;
  width: 112px;
  display: grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.order-category .product-media:has(.product-photo + .product-photo) {
  grid-template-columns: 1fr 1fr;
}

.order-category .product-photo {
  width: 100%;
  height: 84px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.order-category .product-media:has(.product-photo + .product-photo) .product-photo {
  height: 72px;
}

.order-category .product-media:hover .product-photo,
.order-category .product-media:focus-visible .product-photo {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(7,63,83,.25);
}

.order-category .product-copy {
  grid-area: copy;
}

.order-category .product:not(:has(.product-media)) .product-copy {
  grid-column: 1 / -1;
}

.order-category .product > .quantity {
  grid-area: quantity;
  justify-self: start;
  margin-top: .1rem;
}

.image-lightbox {
  width: min(92vw, 760px);
  max-height: 90vh;
  padding: 1rem;
  border: 0;
  border-radius: 20px;
  background: #fffdf5;
  box-shadow: 0 28px 80px rgba(7,63,83,.42);
}

.image-lightbox::backdrop {
  background: rgba(4,24,32,.82);
  backdrop-filter: blur(4px);
}

.image-lightbox img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
}

.image-lightbox p {
  margin: .75rem 2.5rem 0 .25rem;
  color: var(--navy);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 620px) {
  .order-category .product,
  .order-category .pizza-product,
  .order-category .featured-product {
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-areas:
      "media copy"
      "quantity quantity";
    gap: .65rem .8rem;
  }

  .order-category .product-media {
    width: 92px;
  }

  .order-category .product-photo {
    width: 100%;
    height: 72px;
  }

  .order-category .product-media:has(.product-photo + .product-photo) .product-photo {
    height: 62px;
  }

  .order-category .product > .quantity,
  .order-category .featured-product .quantity {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
