@media (min-width: 768px) {
  /* Compact product cards use one responsive icon row; wider cards keep Electro's layout. */
  .product.agritab-compact-card .hover-area {
    display: none;
    padding: 8px 0 0;
    border-top: 1px solid #e9e9e9;
  }
  .product.agritab-compact-card:hover .hover-area,
  .product.agritab-compact-card:focus-within .hover-area {
    display: block;
  }
  .product.agritab-compact-card .hover-area .action-buttons {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 34px;
    gap: 4px;
  }
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-add-to-wishlist,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    padding: 0;
  }
  .product.agritab-compact-card .hover-area .action-buttons .yith-add-to-wishlist-button-block {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 34px;
  }
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-add-to-wishlist-button,
  .product.agritab-compact-card .hover-area .action-buttons .add_to_wishlist,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistaddedbrowse > a,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistexistsbrowse > a,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link {
    position: static;
    display: inline-flex !important;
    flex: 0 0 28px;
    align-items: center !important;
    justify-content: center !important;
    width: 28px;
    min-width: 28px;
    height: 34px;
    margin: 0;
    padding: 0;
    font-size: 0 !important;
    line-height: 1 !important;
    vertical-align: middle;
    white-space: nowrap;
  }
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-add-to-wishlist-button {
    position: relative !important;
    top: 0px !important;
  }
  /*.product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link {*/
  /*  position: relative !important;*/
  /*  top: 7px !important;*/
  /*}*/
  /* YITH's live remove-from-wishlist state uses a .delete_item link. */
  .product.agritab-compact-card .hover-area .action-buttons .delete_item {
    display: inline-flex !important;
    flex: 0 0 28px;
    align-items: center !important;
    justify-content: center !important;
    width: 28px;
    min-width: 28px;
    height: 34px;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
  }
  .product.agritab-compact-card .hover-area .action-buttons .delete_item svg {
    width: 24px !important;
    height: 24px !important;
  }.product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-add-to-wishlist-button__label,
  .product.agritab-compact-card .hover-area .action-buttons .add_to_wishlist span,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistaddedbrowse .feedback,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistexistsbrowse .feedback,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link .label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-add-to-wishlist-button-icon,
  .product.agritab-compact-card .hover-area .action-buttons .add_to_wishlist svg,
  .product.agritab-compact-card .hover-area .action-buttons .add_to_wishlist i,
  .product.agritab-compact-card .hover-area .action-buttons .add_to_wishlist img,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistaddedbrowse > a svg,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistaddedbrowse > a i,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistexistsbrowse > a svg,
  .product.agritab-compact-card .hover-area .action-buttons .yith-wcwl-wishlistexistsbrowse > a i {
    width: 24px !important;
    height: 24px !important;
    font-size: 24px !important;
  }
  /* YITH swaps this outline SVG for its own filled SVG when wishlisted. */
  .product.agritab-compact-card .hover-area .action-buttons #yith-wcwl-icon-heart-outline,
  .product.agritab-compact-card .hover-area .action-buttons #yith-wcwl-icon-heart-outline path {
    color: #8598a9 !important;
    stroke: #8598a9 !important;
    stroke-width: 1.5 !important;
  }
  /* Use a native text checkmark for the added state; this does not depend on Electro's icon font. */
  .product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link.added::before {
    content: "✓" !important;
    font-family: Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
  }.product.agritab-compact-card .hover-area .action-buttons .add-to-compare-link::before {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin: 0 !important;
    color: #8598a9;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    margin-left: auto;
  }
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap .button,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap .added_to_cart {
    position: static !important;
    inset: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: none;
    text-indent: -9999px;
    transform: none !important;
    white-space: nowrap;
  }
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap .button::before,
  .product.agritab-compact-card .hover-area .action-buttons .add-to-cart-wrap .added_to_cart::before {
    margin: 0;
    padding: 8px;
    float: none;
    text-indent: 0;
  }

  @media (hover: none) {
    .product.agritab-compact-card .hover-area {
      display: block;
    }
  }
}
