.productLink {
  border-radius: 8px;
}

/* Desktop unified height styles */
@media (min-width: 1025px) {
  .productLink {
    display: flex;
    height: 100%;
    width: 100%;
  }

  .productLink .ant-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .productLink .ant-card .ant-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.itemDescription {
  transition: color 0.3s ease;
}

/* Enhanced responsive item descriptions */
@media (min-width: 769px) and (max-width: 1024px) {
  .itemDescription {
    font-size: 14px !important;
  }
}

@media (min-width: 1025px) {
  .itemDescription {
    font-size: 16px !important;
  }
}

.popularMenuItemImage {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.popularMenuItemImageMobile {
  height: 90px;
  overflow: hidden;
}

.popularMenuItemImageTablet {
  height: 95px;
  width: 120px;
  overflow: hidden;
}

.popularMenuItemImageDesktop {
  height: 120px;
  width: 140px;
  overflow: hidden;
}

.loyaltyButton {
  position: absolute;
  top: 1px;
  left: 1px;
  z-index: 99;
  background-color: var(--primary) !important;
  color: white !important;
  border: none !important;
}

:global(.ant-app-rtl) .loyaltyButton {
  right: 1px !important;
}

.itemDescriptionIcons svg {
  fill: inherit;
}

/* Badge positioning for RTL */
:global(.ant-app-rtl) .productLink :global(.ant-badge) :global(.ant-badge-count) {
  right: auto !important;
  left: 0px !important;
}

:global(.ant-app-ltr) .productLink :global(.ant-badge) :global(.ant-badge-count) {
  right: 0px !important;
  left: auto !important;
}